org.graffiti.event
Class TransactionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.graffiti.event.AbstractEvent
          extended by 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: 5767 $
See Also:
TransactionListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TransactionEvent(Object source)
          Constructs a transaction event object with the specified source component.
TransactionEvent(Object source, Set<Object> changedObjects)
          Constructs a transaction event object with the specified source component.
 
Method Summary
 Set<Object> getChangedObjects()
          Returns the Set of objects that have been changed during the transaction.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionEvent

public TransactionEvent(Object source,
                        Set<Object> changedObjects)
Constructs a transaction event object with the specified source component.

Parameters:
source - the source component of the transaction.
changedObjects - DOCUMENT ME!

TransactionEvent

public TransactionEvent(Object source)
Constructs a transaction event object with the specified source component.

Parameters:
source - the graph that originated the event.
Method Detail

getChangedObjects

public Set<Object> getChangedObjects()
Returns the Set of objects that have been changed during the transaction.

Returns:
the graph that originated this event.


Generated at 2012-05-30 11:00:36 PM CEST