org.apache.cayenne.access.event
Class SnapshotEvent
java.lang.Object
java.util.EventObject
org.apache.cayenne.event.CayenneEvent
org.apache.cayenne.access.event.SnapshotEvent
- All Implemented Interfaces:
- Serializable
public class SnapshotEvent
- extends CayenneEvent
Event sent on modification of the DataRowStore.
- Since:
- 1.1
- Author:
- Andrus Adamchik
- See Also:
- Serialized Form
timestamp
protected long timestamp
deletedIds
protected Collection deletedIds
invalidatedIds
protected Collection invalidatedIds
modifiedDiffs
protected Map modifiedDiffs
indirectlyModifiedIds
protected Collection indirectlyModifiedIds
SnapshotEvent
public SnapshotEvent(Object source,
Object postedBy,
Map modifiedDiffs,
Collection deletedIds,
Collection invalidatedIds,
Collection indirectlyModifiedIds)
getTimestamp
public long getTimestamp()
getModifiedDiffs
public Map getModifiedDiffs()
getDeletedIds
public Collection getDeletedIds()
getInvalidatedIds
public Collection getInvalidatedIds()
getIndirectlyModifiedIds
public Collection getIndirectlyModifiedIds()
toString
public String toString()
- Overrides:
toString
in class EventObject
Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.