org.spicefactory.pimento.io
Class ProxyEntitySnapshot

java.lang.Object
  extended by org.spicefactory.pimento.io.AbstractEntitySnapshot
      extended by org.spicefactory.pimento.io.ProxyEntitySnapshot
All Implemented Interfaces:
Externalizable, EntitySnapshot

public class ProxyEntitySnapshot
extends AbstractEntitySnapshot

Represents an uninitialized proxy. Does only hold the id of the entity but none of its properties.

Author:
Jens Halm

Constructor Summary
ProxyEntitySnapshot()
          Creates a new instance.
ProxyEntitySnapshot(int metadataId, Object entityId)
          Creates a new instance.
 
Method Summary
 
Methods inherited from class org.spicefactory.pimento.io.AbstractEntitySnapshot
equals, getEntityId, getLogString, getMetadataId, hashCode, readExternal, toString, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProxyEntitySnapshot

public ProxyEntitySnapshot()
Creates a new instance. The default constructor will only be used by the AMF decoder.


ProxyEntitySnapshot

public ProxyEntitySnapshot(int metadataId,
                           Object entityId)
Creates a new instance.

Parameters:
metadataId - the id of the metadata for this entity
entityId - the id of the entity