Remote Systems
v6.4.1

com.ibm.etools.systems.references
Interface ISystemReferencingObject

All Known Subinterfaces:
ISystemPersistableReferencingObject, SystemFilterPoolReference, SystemFilterReference, SystemFilterStringReference, SystemPersistableReferencingObject, SystemReferencingObject
All Known Implementing Classes:
SystemFilterPoolReferenceImpl, SystemFilterReferenceImpl, SystemFilterStringReferenceImpl, SystemPersistableReferencingObjectImpl, SystemReferencingObjectImpl

public interface ISystemReferencingObject

Referencing objects are shadows of real objects. Typically, shadows are created to enable a GUI which does not allow the same real object to appear multiple times. In these cases, a unique shadow object is created for each unique instance of the real object.

This interface captures the simple set of methods such a shadow must implement.


Field Summary
static String copyright
           
 
Method Summary
 ISystemReferencedObject getReferencedObject()
          Get the object which we reference
 boolean isReferenceBroken()
          Return true if this reference is currently broken/unresolved
 int removeReference()
          Fastpath to getReferencedObject().removeReference(this).
 void setReferenceBroken(boolean broken)
          Set to true if this reference is currently broken/unresolved
 void setReferencedObject(ISystemReferencedObject obj)
          Set the object to which we reference
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Method Detail

setReferencedObject

public void setReferencedObject(ISystemReferencedObject obj)
Set the object to which we reference


getReferencedObject

public ISystemReferencedObject getReferencedObject()
Get the object which we reference


removeReference

public int removeReference()
Fastpath to getReferencedObject().removeReference(this).

Returns:
new reference count of master object

setReferenceBroken

public void setReferenceBroken(boolean broken)
Set to true if this reference is currently broken/unresolved


isReferenceBroken

public boolean isReferenceBroken()
Return true if this reference is currently broken/unresolved


Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.