Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.core.references
Interface IRSEPersistableReferencingObject

All Superinterfaces:
IRSEBasePersistableReferencingObject, IRSEBaseReferencingObject, IRSEReferencingObject
All Known Subinterfaces:
ISystemFilterPoolReference

public interface IRSEPersistableReferencingObject
extends IRSEReferencingObject, IRSEBasePersistableReferencingObject

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
 
Methods inherited from interface org.eclipse.rse.core.references. IRSEBaseReferencingObject
getReferencedObject, isReferenceBroken, removeReference, setReferenceBroken, setReferencedObject
 

Method Detail

getReferencedObjectName

String getReferencedObjectName()
Description copied from interface: IRSEBasePersistableReferencingObject
Query the unique name or key of the object we are referencing.

Specified by:
getReferencedObjectName in interface IRSEBasePersistableReferencingObject
Returns:
The value of the ReferencedObjectName attribute

setReferencedObjectName

void setReferencedObjectName(
String value)
Parameters:
value - The new value of the ReferencedObjectName attribute

getParentReferenceManager

IRSEBasePersistableReferenceManager getParentReferenceManager()
Returns:
The ParentReferenceManager reference

setParentReferenceManager

void setParentReferenceManager(
IRSEBasePersistableReferenceManager value)
Parameters:
l - The new value of the ParentReferenceManager reference

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire