org.netbeans.modules.bpel.model.api.events
Class PropertyUpdateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.modules.bpel.model.api.events.ChangeEvent
          extended by org.netbeans.modules.bpel.model.api.events.PropertyUpdateEvent
All Implemented Interfaces:
java.io.Serializable

public class PropertyUpdateEvent
extends ChangeEvent

Author:
ads
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PropertyUpdateEvent(BpelEntity parent, java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
          Constructor that don't have source reference.
PropertyUpdateEvent(java.lang.Object source, BpelEntity parent, java.lang.String name, java.lang.Object oldValue, java.lang.Object newValue)
          Constructor for PropertyUpdateEvent with source ref.
 
Method Summary
 java.lang.Object getNewValue()
           
 java.lang.Object getOldValue()
           
 
Methods inherited from class org.netbeans.modules.bpel.model.api.events.ChangeEvent
getName, getParent, isLastInAtomic, setLast, setNotLast
 
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

PropertyUpdateEvent

public PropertyUpdateEvent(java.lang.Object source,
                           BpelEntity parent,
                           java.lang.String name,
                           java.lang.Object oldValue,
                           java.lang.Object newValue)
Constructor for PropertyUpdateEvent with source ref.

Parameters:
source - source of event ( who produce this event ).
parent - element in OM that contains event attribute.
name - attribute name.
oldValue - attribute old value.
newValue - attribute new value.

PropertyUpdateEvent

public PropertyUpdateEvent(BpelEntity parent,
                           java.lang.String name,
                           java.lang.Object oldValue,
                           java.lang.Object newValue)
Constructor that don't have source reference.

Parameters:
parent - element in OM, entity that contains attribute with value
name - attribute name
oldValue - old attribue value
newValue - new attribue value
Method Detail

getOldValue

public java.lang.Object getOldValue()
Returns:
old attribute value.

getNewValue

public java.lang.Object getNewValue()
Returns:
new attribute value.