|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.io.AbstractEntitySnapshot
public abstract class AbstractEntitySnapshot
Abstract EntitySnapshot base implementation.
| Constructor Summary | |
|---|---|
protected |
AbstractEntitySnapshot()
Creates a new instance. |
protected |
AbstractEntitySnapshot(int metadataId,
Object entityId)
Creates a new instance. |
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
Object |
getEntityId()
Returns the id of the entity. |
String |
getLogString(EntityMetadata metadata,
boolean includeProperties)
Returns a log String for this snapshot. |
int |
getMetadataId()
Returns the id of the associated metadata. |
int |
hashCode()
|
void |
readExternal(DataInput input)
Restores the content of this object from the DataInput instance. |
String |
toString()
|
void |
writeExternal(DataOutput output)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractEntitySnapshot()
protected AbstractEntitySnapshot(int metadataId,
Object entityId)
metadataId - the id of the metadata for this entityentityId - the id of the entity| Method Detail |
|---|
public int getMetadataId()
EntitySnapshot
getMetadataId in interface EntitySnapshotpublic Object getEntityId()
EntitySnapshot
getEntityId in interface EntitySnapshotpublic void readExternal(DataInput input)
Externalizable
readExternal in interface Externalizableinput - the AMF3 data to read frompublic void writeExternal(DataOutput output)
Externalizable
writeExternal in interface Externalizableoutput - the output to write to
public String getLogString(EntityMetadata metadata,
boolean includeProperties)
EntitySnapshot
getLogString in interface EntitySnapshotmetadata - the metadata associated with this snapshotincludeProperties - whether properties should be included in the logpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object other)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||