public interface Persistent
| Modifier and Type | Method and Description |
|---|---|
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void saveToState(PersistentState state) throws PersistenceException
state - PersistenceExceptionvoid loadFromState(PersistentState state) throws PersistenceException
state - PersistenceException