Remote Systems
v6.4.1

com.ibm.etools.systems.references.impl
Class SystemReferencedObjectImpl

java.lang.Object
  extended byEObjectImpl
      extended bycom.ibm.etools.systems.references.impl.SystemReferencedObjectImpl
All Implemented Interfaces:
ISystemReferencedObject, SystemReferencedObject
Direct Known Subclasses:
SystemFilterImpl, SystemPersistableReferencedObjectImpl

public class SystemReferencedObjectImpl
extends EObjectImpl
implements SystemReferencedObject

See Also:
Serialized Form

Field Summary
static String copyright
           
protected  SystemReferencedObjectHelper helper
           
 
Constructor Summary
protected SystemReferencedObjectImpl()
          Default constructor.
 
Method Summary
 int addReference(ISystemReferencingObject ref)
          Add a reference, increment reference count, return new count
protected  EClass eStaticClass()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

helper

protected SystemReferencedObjectHelper helper

copyright

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

SystemReferencedObjectImpl

protected SystemReferencedObjectImpl()
Default constructor. Typically called by EMF factory method.

Method Detail

eStaticClass

protected EClass eStaticClass()


addReference

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

Specified by:
addReference in interface ISystemReferencedObject
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

Specified by:
removeReference in interface ISystemReferencedObject
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.

Specified by:
getReferenceCount in interface ISystemReferencedObject

removeAllReferences

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

Specified by:
removeAllReferences in interface ISystemReferencedObject

getReferencingObjects

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

Specified by:
getReferencingObjects in interface ISystemReferencedObject

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.