Package org.graffiti.event
Class TransactionEvent
java.lang.Object
java.util.EventObject
org.graffiti.event.AbstractEvent
org.graffiti.event.TransactionEvent
- All Implemented Interfaces:
Serializable
public class TransactionEvent extends AbstractEvent
Contains a transaction event. A
TransactionEvent
object is
passed to every TransactionListener
object which is registered
to receive a transaction event.- Version:
- $Revision: 1.7 $
- See Also:
TransactionListener
, Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graffiti.event.AbstractEvent
AbstractEvent.EVENTTYPE
-
Constructor Summary
Constructors Constructor Description TransactionEvent(Object source)
Constructs a transaction event object with the specified source component.TransactionEvent(Object source, TransactionHashMap changedObjects)
Constructs a transaction event object with the specified source component. -
Method Summary
Modifier and Type Method Description TransactionHashMap
getChangedObjects()
Returns theSet
of objects that have been changed during the transaction.Methods inherited from class org.graffiti.event.AbstractEvent
getEventType, setEventType
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
TransactionEvent
Constructs a transaction event object with the specified source component.- Parameters:
source
- the source component of the transaction.changedObjects
- DOCUMENT ME!
-
TransactionEvent
Constructs a transaction event object with the specified source component.- Parameters:
source
- the graph that originated the event.
-
-
Method Details
-
getChangedObjects
Returns theSet
of objects that have been changed during the transaction.- Returns:
- the graph that originated this event.
-