|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ApplicableEntitySnapshot
Represents an entity snapshot that can be applied to existing entities and other snapshots. This snapshot may be a partial or full representation of an entity.
| Method Summary | |
|---|---|
Object |
getEntity()
Returns the entity that this snapshot was applied to. |
boolean |
hasEntity()
Indicates whether the entity that this snapshot was applied to has been set. |
boolean |
isTransient()
Checks whether the entity represented by this snapshot is transient. |
EntityUpdate |
prepareUpdate(Object entity,
EntityMetadata metadata,
IoContext context)
Creates and returns an EntityUpdate instance that reflects the state of this instance. |
void |
setEntity(Object entity)
Sets the entity that this snapshot was applied to. |
| Methods inherited from interface org.spicefactory.pimento.io.EntitySnapshot |
|---|
getEntityId, getLogString, getMetadataId |
| Method Detail |
|---|
boolean isTransient()
EntityUpdate prepareUpdate(Object entity,
EntityMetadata metadata,
IoContext context)
entity - the entity the update will later be applied tometadata - the metadata for the specified entitycontext - the active IoContext
void setEntity(Object entity)
entity - the entity that this snapshot was applied toObject getEntity()
boolean hasEntity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||