|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
---|---|
static String |
copyright
|
Method Summary | |
---|---|
int |
addReferencingObject(ISystemPersistableReferencingObject object)
Add a referencing object to the managed list. |
String |
getName()
|
ISystemPersistableReferencingObject |
getReferencedObject(ISystemPersistableReferencedObject object)
Search list of referencing objects to see if one of them references the given referencable object. |
int |
getReferencingObjectCount()
Return how many referencing objects are currently in the list. |
EList |
getReferencingObjectList()
|
int |
getReferencingObjectPosition(ISystemPersistableReferencingObject object)
Return the zero-based position of the given referencing object within the list. |
ISystemPersistableReferencingObject[] |
getReferencingObjects()
Return an array of the referencing objects currently being managed. |
boolean |
isReferenced(ISystemPersistableReferencedObject object)
Return true if the given referencable object is indeed referenced by a referencing object in the current list. |
void |
moveReferencingObjectPosition(int newPosition,
ISystemPersistableReferencingObject object)
Move the given referencing object to a new zero-based position in the list. |
void |
removeAllReferencingObjects()
Remove all objects from the list. |
void |
removeAndDeReferenceAllReferencingObjects()
Remove and dereference all objects from the list. |
int |
removeAndDeReferenceReferencingObject(ISystemPersistableReferencingObject object)
Remove and dereferences a referencing object from the managed list. |
int |
removeReferencingObject(ISystemPersistableReferencingObject object)
Remove a referencing object from the managed list. |
boolean |
resolveReferencesAfterRestore()
After restoring this from disk, there is only the referenced object name, not the referenced object pointer, for each referencing object. |
void |
save(IFolder folder,
String fileName)
Attempt to save contents of manager to disk. |
void |
setName(String value)
|
void |
setReferencingObjects(ISystemPersistableReferencingObject[] objects,
boolean deReference)
Set in one shot the list of referencing objects. |
Field Detail |
public static final String copyright
Method Detail |
public ISystemPersistableReferencingObject[] getReferencingObjects()
public void setReferencingObjects(ISystemPersistableReferencingObject[] objects, boolean deReference)
objects
- An array of referencing objects which is to become the new list.deReference
- true to first de-reference all objects in the existing list.public int addReferencingObject(ISystemPersistableReferencingObject object)
public int removeReferencingObject(ISystemPersistableReferencingObject object)
Does NOT call removeReference on the master referenced object.
public int removeAndDeReferenceReferencingObject(ISystemPersistableReferencingObject object)
DOES call removeReference on the master referenced object.
public void removeAllReferencingObjects()
Does NOT call removeReference on the master referenced objects.
public void removeAndDeReferenceAllReferencingObjects()
DOES call removeReference on the master referenced objects.
public int getReferencingObjectCount()
public int getReferencingObjectPosition(ISystemPersistableReferencingObject object)
object
- The referencing object to find position of.
public void moveReferencingObjectPosition(int newPosition, ISystemPersistableReferencingObject object)
newPosition
- New zero-based positionobject
- The referencing object to movepublic boolean isReferenced(ISystemPersistableReferencedObject object)
object
- The referencable object to which to search for a referencing object within this list
public ISystemPersistableReferencingObject getReferencedObject(ISystemPersistableReferencedObject object)
object
- The referencable object to which to search for a referencing object within this list
public void save(IFolder folder, String fileName) throws Exception
folder
- The folder in which to save the manager.fileName
- The unqualified file name to save to. Should include extension, such as .xmi
Exception
public boolean resolveReferencesAfterRestore()
This method is called after restore and for each restored object in the list must:
public String getName()
public void setName(String value)
value
- The new value of the Name attributepublic EList getReferencingObjectList()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |