|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.ModelPersisterInfo
public final class ModelPersisterInfo
The ModelPersisterInfo structure class holds the values that represent the binding of a model object instance to a persistance store and it's path in that store.
Constructor Summary | |
---|---|
ModelPersisterInfo(String persisterId,
String storagePath,
boolean saved)
Instantiates a new model object key. |
Method Summary | |
---|---|
String |
getPersisterId()
Gets the persister id. |
String |
getStoragePath()
Gets the storage path. |
boolean |
isSaved()
Returns whether the object is currently saved or not |
void |
setSaved(boolean saved)
Marks the saved flag on the key |
void |
setStoragePath(String storagePath)
Sets the storage path |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelPersisterInfo(String persisterId, String storagePath, boolean saved)
persisterId
- the persister idstoragePath
- the storage pathMethod Detail |
---|
public String getPersisterId()
public void setStoragePath(String storagePath)
storagePath
- public String getStoragePath()
public boolean isSaved()
public void setSaved(boolean saved)
saved
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |