org.granite.tide.data
Class CollectionChange

java.lang.Object
  extended by org.granite.tide.data.CollectionChange
All Implemented Interfaces:
Externalizable, Serializable

public class CollectionChange
extends Object
implements Externalizable

Author:
William DRAI
See Also:
Serialized Form

Constructor Summary
CollectionChange()
           
CollectionChange(int type, Object key, Object value)
           
 
Method Summary
 Object getKey()
           
 int getType()
           
 Object getValue()
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionChange

public CollectionChange()

CollectionChange

public CollectionChange(int type,
                        Object key,
                        Object value)
Method Detail

getType

public int getType()

getKey

public Object getKey()

getValue

public Object getValue()

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException