|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityState
Method Summary | |
---|---|
EntityDescriptor |
entityDescriptor()
|
EntityReference |
getAssociation(QualifiedName stateName)
|
ManyAssociationState |
getManyAssociation(QualifiedName stateName)
|
Object |
getProperty(QualifiedName stateName)
|
EntityReference |
identity()
Returns the identity of the entity that this EntityState represents. |
boolean |
isOfType(TypeName type)
|
long |
lastModified()
Last modified timestamp of the entity. |
void |
remove()
Remove the entity represented by this EntityState when the unit of work is completed. |
void |
setAssociation(QualifiedName stateName,
EntityReference newEntity)
|
void |
setProperty(QualifiedName stateName,
Object json)
|
EntityStatus |
status()
The status of this EntityState |
String |
version()
Version of the entity. |
Method Detail |
---|
EntityReference identity()
String version()
long lastModified()
void remove()
EntityStatus status()
boolean isOfType(TypeName type)
EntityDescriptor entityDescriptor()
Object getProperty(QualifiedName stateName)
void setProperty(QualifiedName stateName, Object json)
EntityReference getAssociation(QualifiedName stateName)
void setAssociation(QualifiedName stateName, EntityReference newEntity)
ManyAssociationState getManyAssociation(QualifiedName stateName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |