Class 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
  • Constructor Details

    • TransactionEvent

      public TransactionEvent​(Object source, TransactionHashMap 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 Details

    • getChangedObjects

      public TransactionHashMap getChangedObjects()
      Returns the Set of objects that have been changed during the transaction.
      Returns:
      the graph that originated this event.