|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityState
State holder for Entities.
Method Summary | |
---|---|
EntityReference |
associationValueOf(QualifiedName stateName)
|
EntityDescriptor |
entityDescriptor()
|
EntityReference |
identity()
Returns the identity of the entity that this EntityState represents. |
boolean |
isAssignableTo(java.lang.Class<?> type)
|
long |
lastModified()
Last modified timestamp of the entity. |
ManyAssociationState |
manyAssociationValueOf(QualifiedName stateName)
|
java.lang.Object |
propertyValueOf(QualifiedName stateName)
|
void |
remove()
Remove the entity represented by this EntityState when the unit of work is completed. |
void |
setAssociationValue(QualifiedName stateName,
EntityReference newEntity)
|
void |
setPropertyValue(QualifiedName stateName,
java.lang.Object json)
|
EntityStatus |
status()
The status of this EntityState |
java.lang.String |
version()
Version of the entity. |
Method Detail |
---|
EntityReference identity()
java.lang.String version()
long lastModified()
void remove()
EntityStatus status()
boolean isAssignableTo(java.lang.Class<?> type)
EntityDescriptor entityDescriptor()
java.lang.Object propertyValueOf(QualifiedName stateName)
void setPropertyValue(QualifiedName stateName, java.lang.Object json)
EntityReference associationValueOf(QualifiedName stateName)
void setAssociationValue(QualifiedName stateName, EntityReference newEntity)
ManyAssociationState manyAssociationValueOf(QualifiedName stateName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |