|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.entitystore.neo4j.NeoEntityState
public class NeoEntityState
Method Summary | |
---|---|
EntityDescriptor |
entityDescriptor()
|
EntityReference |
getAssociation(QualifiedName stateName)
|
ManyAssociationState |
getManyAssociation(QualifiedName stateName)
|
Object |
getProperty(QualifiedName stateName)
|
EntityStoreUnitOfWork |
getUnitOfWork()
|
void |
hasBeenApplied()
|
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 prop)
|
protected void |
setUpdated()
|
EntityStatus |
status()
The status of this EntityState |
String |
version()
Version of the entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected void setUpdated()
public ManyAssociationState getManyAssociation(QualifiedName stateName)
getManyAssociation
in interface EntityState
public EntityReference getAssociation(QualifiedName stateName)
getAssociation
in interface EntityState
public void setAssociation(QualifiedName stateName, EntityReference newEntity)
setAssociation
in interface EntityState
public Object getProperty(QualifiedName stateName)
getProperty
in interface EntityState
public void setProperty(QualifiedName stateName, Object prop)
setProperty
in interface EntityState
public void remove()
EntityState
remove
in interface EntityState
public EntityDescriptor entityDescriptor()
entityDescriptor
in interface EntityState
public void hasBeenApplied()
public EntityReference identity()
EntityState
identity
in interface EntityState
public boolean isOfType(TypeName type)
isOfType
in interface EntityState
public long lastModified()
EntityState
lastModified
in interface EntityState
public EntityStatus status()
EntityState
status
in interface EntityState
public String version()
EntityState
version
in interface EntityState
public EntityStoreUnitOfWork getUnitOfWork()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |