public final class ModelPersisterInfo extends Object implements Serializable
| Constructor and Description |
|---|
ModelPersisterInfo(String persisterId,
String storagePath,
boolean saved)
Instantiates a new model object key.
|
ModelPersisterInfo(String persisterId,
String storagePath,
String sourcePath,
boolean saved)
Instantiates a new model object key.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPersisterId()
Gets the persister id.
|
String |
getSourcePath()
Retrieves the path to the original definition of the
ModelObject. |
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 |
setSourcePath(String sourcePath)
This should be used to set the location where the
ModelObject is originally defined. |
void |
setStoragePath(String storagePath)
Sets the storage path
|
public ModelPersisterInfo(String persisterId, String storagePath, boolean saved)
persisterId - the persister idstoragePath - the storage pathpublic void setSourcePath(String sourcePath)
This should be used to set the location where the ModelObject is originally defined.
sourcePath - The path to the definition of he ModelObjectpublic String getSourcePath()
Retrieves the path to the original definition of the ModelObject.
ModelObject.public String getPersisterId()
public void setStoragePath(String storagePath)
storagePath - Stringpublic String getStoragePath()
public boolean isSaved()
public void setSaved(boolean saved)
saved - booleanCopyright © 2005–2016 Alfresco Software. All rights reserved.