Inheritance diagram for com.arcle.rmt.superwaba.model.imp.rqml.ContextImpl.Memento:
Public Member Functions | |
Memento (ContextImpl originator) | |
Storable | getInstance () |
Factory method that creates new instances of the memento class. | |
byte | getID () |
Retuns a unique ID for this class. | |
void | saveState (DataStream data) |
Send the state information of this object to the given object catalog using the given DataStream. | |
void | loadState (DataStream data) |
Load state information from the given DataStream into this object If any Storable objects need to be loaded as part of the state, their loadState() method can be called too. |
|
Definition at line 126 of file superwaba/model/imp/rqml/ContextImpl.java. |
|
Retuns a unique ID for this class. It is up to the user to ensure that the ID of each class of Storable contained in a single ObjectCatalog is unique and the ID of each instance in a class is the same. If the ID returned is zero, no type information will be saved to the catalog and ObjectCatalog.loadObjectAt(int) cannot be used. It is useful, however when accessing Catalogs from other programs using the ObjectCatalog model. Implements com.arcle.rmt.superwaba.model.imp.rqml.RQMLFirstClassImpl.Memento. Definition at line 136 of file superwaba/model/imp/rqml/ContextImpl.java. |
|
Factory method that creates new instances of the memento class. The newly created instance will be used as a base for object data loaded from the catalog.
Implements com.arcle.rmt.superwaba.model.imp.rqml.RQMLSecondClassImpl.Memento. Definition at line 130 of file superwaba/model/imp/rqml/ContextImpl.java. |
|
Load state information from the given DataStream into this object If any Storable objects need to be loaded as part of the state, their loadState() method can be called too.
Reimplemented from com.arcle.rmt.superwaba.model.imp.rqml.RQMLFirstClassImpl.Memento. Definition at line 148 of file superwaba/model/imp/rqml/ContextImpl.java. References com.arcle.rmt.superwaba.model.imp.rqml.ContextImpl.createOriginImpl(), com.arcle.rmt.superwaba.model.imp.GenericMemento.getOriginator(), com.arcle.rmt.superwaba.model.imp.GenericMemento.loadMementoable(), and com.arcle.rmt.superwaba.model.imp.rqml.ContextImpl.origin. |
|
Send the state information of this object to the given object catalog using the given DataStream. If any Storable objects need to be saved as part of the state, their saveState() method can be called too. Reimplemented from com.arcle.rmt.superwaba.model.imp.rqml.RQMLFirstClassImpl.Memento. Definition at line 140 of file superwaba/model/imp/rqml/ContextImpl.java. References com.arcle.rmt.superwaba.model.imp.GenericMemento.getOriginator(), com.arcle.rmt.superwaba.model.imp.rqml.ContextImpl.origin, com.arcle.rmt.superwaba.model.imp.GenericMemento.saveMementoable(), and com.arcle.rmt.superwaba.model.imp.rqml.ContextImpl.textualData. |