org.eclipse.rse.core.references
Interface IRSEBaseReferencedObject
-
All Known Subinterfaces:
-
IRSEBasePersistableReferencedObject,
IRSEPersistableReferencedObject,
IRSEReferencedObject,
ISystemFilter,
ISystemFilterPool,
ISystemFilterString
-
All Known Implementing Classes:
-
SystemReferencedObject
-
public interface IRSEBaseReferencedObject
Interface that any master object that is referenced must implement.
addReference
int addReference(
IRSEBaseReferencingObject ref)
- Add a reference, increment reference count, return new count
-
-
Parameters:
-
ref
- the referencing object from which this object will now be referenced.
-
Returns:
- new count of how many referencing objects reference this object.
removeReference
int removeReference(
IRSEBaseReferencingObject ref)
- Remove a reference, decrement reference count, return new count
-
-
Parameters:
-
ref
- the referencing object from which this object is no longer referenced.
-
Returns:
- new count of how many referencing objects reference this object.
getReferenceCount
int getReferenceCount()
- Return a count of how many referencing objects reference this object.
-
-
Returns:
- a count of how many referencing objects reference this object.
removeAllReferences
void removeAllReferences()
- Clear the list of referenced objects.
-
getReferencingObjects
IRSEBaseReferencingObject[] getReferencingObjects()
-
-
Returns:
- a list of all referencing objects of this object
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.