|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.util.persistence.PersistenceManager.SlashDevSlashNull
public static class PersistenceManager.SlashDevSlashNull
This class is used as a marker for types that should NOT be serialised when
saving the state of a gate object.
Registering this type as the persistent equivalent for a specific class
(via PersistenceManager.registerPersitentEquivalent(Class , Class)
)
effectively stops all values of the specified type from being serialised.
Maps that contain values that should not be serialised will have that entry
removed. In any other places where such values occur they will be replaced
by null after deserialisation.
Constructor Summary | |
---|---|
PersistenceManager.SlashDevSlashNull()
|
Method Summary | |
---|---|
Object |
createObject()
Returns null |
void |
extractDataFromSource(Object source)
Does nothing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PersistenceManager.SlashDevSlashNull()
Method Detail |
---|
public void extractDataFromSource(Object source) throws PersistenceException
extractDataFromSource
in interface Persistence
PersistenceException
public Object createObject() throws PersistenceException, ResourceInstantiationException
createObject
in interface Persistence
PersistenceException
ResourceInstantiationException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |