org.granite.tide.data
Class Change

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

public class Change
extends Object
implements Externalizable

Author:
William DRAI
See Also:
Serialized Form

Constructor Summary
Change()
           
Change(String className, Serializable id, Number version, String uid)
           
 
Method Summary
 void addCollectionChanges(String propertyName, CollectionChange[] collChanges)
           
 Map<String,Object> getChanges()
           
 String getClassName()
           
 Serializable getId()
           
 String getUid()
           
 Number getVersion()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Change

public Change()

Change

public Change(String className,
              Serializable id,
              Number version,
              String uid)
Method Detail

getClassName

public String getClassName()

getUid

public String getUid()

getId

public Serializable getId()

getVersion

public Number getVersion()

getChanges

public Map<String,Object> getChanges()

addCollectionChanges

public void addCollectionChanges(String propertyName,
                                 CollectionChange[] collChanges)

toString

public String toString()
Overrides:
toString in class Object

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