|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Persistence
Defines an object that holds persistent data about another object. Storing an arbitrary object will consist of creating an appropiate Persistence object for it and storing that one (via serialisation). Restoring a previously saved object will consist of restoring the persistence object and using the data it stores to create a new object that is as similar as possible to the original object.
Method Summary | |
---|---|
Object |
createObject()
Creates a new object from the data contained. |
void |
extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the original source object. |
Method Detail |
---|
void extractDataFromSource(Object source) throws PersistenceException
PersistenceException
Object createObject() throws PersistenceException, ResourceInstantiationException
PersistenceException
ResourceInstantiationException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |