|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.entitystore.gae.GaeEntityState
public class GaeEntityState
Constructor Summary | |
---|---|
GaeEntityState(GaeEntityStoreUnitOfWork unitOfWork,
com.google.appengine.api.datastore.Entity entity,
ModuleSPI module)
|
|
GaeEntityState(GaeEntityStoreUnitOfWork unitOfWork,
com.google.appengine.api.datastore.Key key,
EntityDescriptor descriptor,
ModuleSPI module)
|
Method Summary | |
---|---|
EntityDescriptor |
entityDescriptor()
|
EntityReference |
getAssociation(QualifiedName stateName)
|
ManyAssociationState |
getManyAssociation(QualifiedName stateName)
|
Object |
getProperty(QualifiedName stateName)
|
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 value)
|
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 |
Constructor Detail |
---|
public GaeEntityState(GaeEntityStoreUnitOfWork unitOfWork, com.google.appengine.api.datastore.Key key, EntityDescriptor descriptor, ModuleSPI module)
public GaeEntityState(GaeEntityStoreUnitOfWork unitOfWork, com.google.appengine.api.datastore.Entity entity, ModuleSPI module)
Method Detail |
---|
public EntityReference identity()
EntityState
identity
in interface EntityState
public String version()
EntityState
version
in interface EntityState
public long lastModified()
EntityState
lastModified
in interface EntityState
public void remove()
EntityState
remove
in interface EntityState
public EntityStatus status()
EntityState
status
in interface EntityState
public boolean isOfType(TypeName type)
isOfType
in interface EntityState
public EntityDescriptor entityDescriptor()
entityDescriptor
in interface EntityState
public Object getProperty(QualifiedName stateName)
getProperty
in interface EntityState
public void setProperty(QualifiedName stateName, Object value)
setProperty
in interface EntityState
public EntityReference getAssociation(QualifiedName stateName)
getAssociation
in interface EntityState
public void setAssociation(QualifiedName stateName, EntityReference newEntity)
setAssociation
in interface EntityState
public ManyAssociationState getManyAssociation(QualifiedName stateName)
getManyAssociation
in interface EntityState
public void hasBeenApplied()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |