org.gvsig.tools.persistence
Interface Persistent

All Known Implementing Classes:
AbstractPersistentProviderServices, AbstractPersistentService

public interface Persistent


Method Summary
 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.
 

Method Detail

saveToState

void saveToState(PersistentState state)
                 throws PersistenceException
Saves the internal state of the object on the provided PersistentState object.

Parameters:
state -
Throws:
PersistenceException

loadFromState

void loadFromState(PersistentState state)
                   throws PersistenceException
Set the state of the object from the state passed as parameter.

Parameters:
state -
Throws:
PersistenceException


Copyright © 2004-2011 gvSIG. All Rights Reserved.