|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.references.impl.SystemReferencingObjectHelper
This is a class that implements all the methods in the ISystemReferencingObject. It makes implementing this interface trivial. The easiest use of this class is to subclass it, but since that is not always possible, it is not abstract and hence can be leveraged via containment.
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
SystemReferencingObjectHelper(ISystemReferencingObject caller)
Default constructor. |
|
SystemReferencingObjectHelper(ISystemReferencingObject caller,
ISystemReferencedObject obj)
Constructor that saves effort of calling setReferencedObject. |
Method Summary | |
---|---|
ISystemReferencedObject |
getReferencedObject()
Get the object which we reference |
int |
removeReference()
Fastpath to getReferencedObject().removeReference(this). |
void |
setReferencedObject(ISystemReferencedObject obj)
Set the object to which we reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
public SystemReferencingObjectHelper(ISystemReferencingObject caller)
public SystemReferencingObjectHelper(ISystemReferencingObject caller, ISystemReferencedObject obj)
Method Detail |
public void setReferencedObject(ISystemReferencedObject obj)
public ISystemReferencedObject getReferencedObject()
public int removeReference()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |