|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.util.persistence.ResourcePersistence
Holds the data needed to serialise and recreate a Resource
.
This data is considered to be: the resource class name, the resource name,
the resource features and the resource initialistion parameters.
Field Summary | |
protected Object |
features
|
protected Object |
initParams
|
protected String |
resourceName
|
protected String |
resourceType
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
(package private) |
ResourcePersistence()
|
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. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected String resourceType
protected String resourceName
protected Object initParams
protected Object features
static final long serialVersionUID
Constructor Detail |
ResourcePersistence()
Method Detail |
public void extractDataFromSource(Object source) throws PersistenceException
Persistence
extractDataFromSource
in interface Persistence
public Object createObject() throws PersistenceException, ResourceInstantiationException
Persistence
createObject
in interface Persistence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |