kodo.event
Class RemoteCommitEvent
java.lang.Object
|
+--kodo.event.RemoteCommitEvent
- All Implemented Interfaces:
- Externalizable, Serializable
- public class RemoteCommitEvent
- extends Object
- implements Externalizable
Utility structure to hold the IDs of additions, updates, and
deletes. This event type is also fully serializable for remote
communication.
- Since:
- 3.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteCommitEvent
public RemoteCommitEvent()
- Constructor used during externalization.
RemoteCommitEvent
public RemoteCommitEvent(Collection adds,
Collection updates,
Collection deletes)
- Constructor. All collections will be proxied with unmodifiable views.
- Parameters:
adds
- set of object IDs for added instancesupdates
- set of object IDs for updated instancesdeletes
- set of object IDs for deleted instances
getAddedObjectIds
public Collection getAddedObjectIds()
- Return the set of object IDs for added objects.
getUpdatedObjectIds
public Collection getUpdatedObjectIds()
- Return the set of object IDs for updated objects.
getDeletedObjectIds
public Collection getDeletedObjectIds()
- Return the set of object IDs for deleted objects.
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
readExternal
public void readExternal(ObjectInput in)
throws IOException
- Specified by:
readExternal
in interface Externalizable
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.