/**
  * Accessor for the referenced PC object when we are attaching or detaching. When attaching and
  * this is the detached object this returns the newly attached object. When attaching and this is
  * the newly attached object this returns the detached object. When detaching and this is the
  * newly detached object this returns the attached object. When detaching and this is the attached
  * object this returns the newly detached object.
  *
  * @return The referenced object (or null).
  */
 public T getReferencedPC() {
   return (T) myEC.getAttachDetachReferencedObject(this);
 }