|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A simple class that implements IRSEPersistableReferencingObject. This is an object that is a shadow (reference) of a real master object (IRSEPersistableReferencedObject).
Objects of this class contain a pointer (in memory) to the master object, and a copy of this object's unique name or key (for storing on disk).
Only the name is saved to disk, and after restoring from disk, that name is used to set the actual object reference.
The intention is that in your Rose model, your class extends this class. Do this for any shadow/reference class which you want to persist. Use a subclass of SystemPersistableReferenceManager to manage a list of these, and manage the saving/restoring of that list.
YOU MUST OVERRIDE resolveReferencesAfterRestore IN YOUR REFERENCE MANAGER SUBCLASS
| Method Summary | |
IRSEBasePersistableReferenceManager |
getParentReferenceManager()
|
String |
getReferencedObjectName()
Query the unique name or key of the object we are referencing. |
void |
setParentReferenceManager(IRSEBasePersistableReferenceManager value)
|
void |
setReferencedObjectName(String value)
|
| Methods inherited from interface org.eclipse.rse.core.references.IRSEBaseReferencingObject |
getReferencedObject, isReferenceBroken, removeReference, setReferenceBroken, setReferencedObject |
| Methods inherited from interface org.eclipse.rse.core.references.IRSEBasePersistableReferencingObject |
setReferencedObject |
| Method Detail |
public String getReferencedObjectName()
IRSEBasePersistableReferencingObject
getReferencedObjectName in interface IRSEBasePersistableReferencingObjectpublic void setReferencedObjectName(String value)
value - The new value of the ReferencedObjectName attributepublic IRSEBasePersistableReferenceManager getParentReferenceManager()
public void setParentReferenceManager(IRSEBasePersistableReferenceManager value)
|
RSE Release 3.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||