|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelObject
Field Summary | |
---|---|
static String |
PROP_DESCRIPTION
|
static String |
PROP_DESCRIPTION_ID
|
static String |
PROP_ID
|
static String |
PROP_TITLE
|
static String |
PROP_TITLE_ID
|
Method Summary | |
---|---|
boolean |
getBooleanProperty(String propertyName)
|
Map<String,Serializable> |
getCustomProperties()
|
String |
getCustomProperty(String propertyName)
|
String |
getDescription()
Returns the description property of the model object |
String |
getDescriptionId()
Returns the description id property of the model object |
org.dom4j.Document |
getDocument()
|
String |
getId()
Returns the id of the model object. |
ModelPersisterInfo |
getKey()
Returns the model object key instance |
Map<String,Serializable> |
getModelProperties()
|
String |
getModelProperty(String propertyName)
|
String |
getModelVersion()
|
long |
getModificationTime()
|
String |
getPersisterId()
|
Map<String,Serializable> |
getProperties()
|
String |
getProperty(String propertyName)
|
String |
getStoragePath()
|
String |
getTitle()
Returns the title property of the model object. |
String |
getTitleId()
Returns the title id property of the model object. |
String |
getTypeId()
Returns the type id of the model object. |
boolean |
isSaved()
Indicates whether the object is currently persisted (saved) or not. |
void |
removeCustomProperty(String propertyName)
|
void |
removeModelProperty(String propertyName)
|
void |
removeProperty(String propertyName)
|
void |
setCustomProperty(String propertyName,
String propertyValue)
|
void |
setDescription(String value)
Sets the description property of the model object |
void |
setDescriptionId(String value)
Sets the description id property of the model object |
void |
setModelProperty(String propertyName,
String propertyValue)
|
void |
setProperty(String propertyName,
String propertyValue)
|
void |
setTitle(String value)
Sets the title property of the model object |
void |
setTitleId(String value)
Sets the title id property of the model object |
void |
touch()
|
String |
toXML()
Serializes the object to XML. |
Field Detail |
---|
static final String PROP_ID
static final String PROP_TITLE
static final String PROP_TITLE_ID
static final String PROP_DESCRIPTION
static final String PROP_DESCRIPTION_ID
Method Detail |
---|
ModelPersisterInfo getKey()
String getId()
String getTypeId()
String getTitle()
void setTitle(String value)
The
- new titleString getTitleId()
void setTitleId(String value)
The
- new title idString getDescription()
void setDescription(String value)
The
- descriptionString getDescriptionId()
void setDescriptionId(String value)
The
- description idboolean isSaved()
String toXML()
boolean getBooleanProperty(String propertyName)
String getProperty(String propertyName)
void setProperty(String propertyName, String propertyValue)
void removeProperty(String propertyName)
Map<String,Serializable> getProperties()
String getModelProperty(String propertyName)
void setModelProperty(String propertyName, String propertyValue)
void removeModelProperty(String propertyName)
Map<String,Serializable> getModelProperties()
String getCustomProperty(String propertyName)
void setCustomProperty(String propertyName, String propertyValue)
void removeCustomProperty(String propertyName)
Map<String,Serializable> getCustomProperties()
String getStoragePath()
String getPersisterId()
long getModificationTime()
void touch()
String getModelVersion()
org.dom4j.Document getDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |