Remote Systems
v6.4.1

com.ibm.etools.systems.references
Interface ISystemReferencedObject

All Known Subinterfaces:
ISystemPersistableReferencedObject, SystemFilter, SystemFilterPool, SystemFilterString, SystemPersistableReferencedObject, SystemReferencedObject
All Known Implementing Classes:
SystemFilterImpl, SystemFilterPoolImpl, SystemFilterStringImpl, SystemPersistableReferencedObjectHelper, SystemPersistableReferencedObjectImpl, SystemReferencedObjectHelper, SystemReferencedObjectImpl

public interface ISystemReferencedObject

Interface that any master object that is referenced must implement.


Field Summary
static String copyright
           
 
Method Summary
 int addReference(ISystemReferencingObject ref)
          Add a reference, increment reference count, return new count
 int getReferenceCount()
          Return a count of how many referencing objects reference this object.
 ISystemReferencingObject[] getReferencingObjects()
          Return a list of all referencing objects of this object
 void removeAllReferences()
          Clear the list of referenced objects.
 int removeReference(ISystemReferencingObject ref)
          Remove a reference, decrement reference count, return new count
 

Field Detail

copyright

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

addReference

public int addReference(ISystemReferencingObject ref)
Add a reference, increment reference count, return new count

Returns:
new count of how many referencing objects reference this object.

removeReference

public int removeReference(ISystemReferencingObject ref)
Remove a reference, decrement reference count, return new count

Returns:
new count of how many referencing objects reference this object.

getReferenceCount

public int getReferenceCount()
Return a count of how many referencing objects reference this object.


removeAllReferences

public void removeAllReferences()
Clear the list of referenced objects.


getReferencingObjects

public ISystemReferencingObject[] getReferencingObjects()
Return a list of all referencing objects of this object


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.