|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.io.AbstractEntitySnapshot
org.spicefactory.pimento.io.AbstractApplicableEntitySnapshot
public abstract class AbstractApplicableEntitySnapshot
Abstract base implementation for the ApplicableEntitySnapshot interface.
| Constructor Summary | |
|---|---|
AbstractApplicableEntitySnapshot()
Creates a new instance. |
|
AbstractApplicableEntitySnapshot(int metadataId,
Object entityId)
Creates a new instance. |
|
AbstractApplicableEntitySnapshot(int metadataId,
Object entityId,
int temporaryEntityId)
Creates a new instance representing a transient entity. |
|
| Method Summary | |
|---|---|
static void |
clearInvocationCache()
|
Object |
getEntity()
Returns the entity that this snapshot was applied to. |
protected List<Object> |
getProperties()
Returns the property values of this snapshot. |
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. |
void |
readExternal(DataInput input)
Restores the content of this object from the DataInput instance. |
void |
setEntity(Object entity)
Sets the entity that this snapshot was applied to. |
void |
writeExternal(DataOutput output)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class org.spicefactory.pimento.io.AbstractEntitySnapshot |
|---|
equals, getEntityId, getLogString, getMetadataId, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.spicefactory.pimento.io.ApplicableEntitySnapshot |
|---|
prepareUpdate |
| Methods inherited from interface org.spicefactory.pimento.io.EntitySnapshot |
|---|
getEntityId, getLogString, getMetadataId |
| Constructor Detail |
|---|
public AbstractApplicableEntitySnapshot()
public AbstractApplicableEntitySnapshot(int metadataId,
Object entityId)
metadataId - the id of the metadata for this entityentityId - the id of the entity
public AbstractApplicableEntitySnapshot(int metadataId,
Object entityId,
int temporaryEntityId)
metadataId - the id of the metadata for this entityentityId - the id of the entitytemporaryEntityId - the temporary id of the transient entity| Method Detail |
|---|
public boolean isTransient()
ApplicableEntitySnapshot
isTransient in interface ApplicableEntitySnapshotprotected List<Object> getProperties()
public void readExternal(DataInput input)
Externalizable
readExternal in interface ExternalizablereadExternal in class AbstractEntitySnapshotinput - the AMF3 data to read frompublic void writeExternal(DataOutput output)
Externalizable
writeExternal in interface ExternalizablewriteExternal in class AbstractEntitySnapshotoutput - the output to write topublic Object getEntity()
ApplicableEntitySnapshot
getEntity in interface ApplicableEntitySnapshotpublic boolean hasEntity()
ApplicableEntitySnapshot
hasEntity in interface ApplicableEntitySnapshotpublic void setEntity(Object entity)
ApplicableEntitySnapshot
setEntity in interface ApplicableEntitySnapshotentity - the entity that this snapshot was applied topublic static void clearInvocationCache()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||