WebFlow.event
Class PropertyChangeEventImpl

WebFlow.event.PropertyChangeEventImpl

public class PropertyChangeEventImpl


Constructor Summary
PropertyChangeEventImpl(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Any oldValue, org.omg.CORBA.Any newValue)
           
PropertyChangeEventImpl(org.omg.CORBA.Object source, java.lang.String propertyName, org.omg.CORBA.Object oldValue, org.omg.CORBA.Object newValue)
           
PropertyChangeEventImpl(org.omg.CORBA.Object source, java.lang.String propertyName, java.lang.String oldValue, java.lang.String newValue)
           
 
Method Summary
 org.omg.CORBA.Any getNewValue()
           
 org.omg.CORBA.Any getOldValue()
           
 org.omg.CORBA.Object getPropagationId()
          The "propagationId" field is reserved for future use.
 java.lang.String getPropertyName()
           
 org.omg.CORBA.Object getSource()
           
 void setPropagationId(org.omg.CORBA.Object propagationId)
           
 void setPropertyName(java.lang.String propertyName)
           
 

Constructor Detail

PropertyChangeEventImpl

public PropertyChangeEventImpl(org.omg.CORBA.Object source,
                               java.lang.String propertyName,
                               org.omg.CORBA.Any oldValue,
                               org.omg.CORBA.Any newValue)
Parameters:
source - The bean that fired the event.
propertyName - The programmatic name of the property that was changed.
oldValue - The old value of the property.
newValue - The new value of the property.

PropertyChangeEventImpl

public PropertyChangeEventImpl(org.omg.CORBA.Object source,
                               java.lang.String propertyName,
                               java.lang.String oldValue,
                               java.lang.String newValue)

PropertyChangeEventImpl

public PropertyChangeEventImpl(org.omg.CORBA.Object source,
                               java.lang.String propertyName,
                               org.omg.CORBA.Object oldValue,
                               org.omg.CORBA.Object newValue)
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Returns:
The programmatic name of the property that was changed. May be null if multiple properties have changed.

setPropertyName

public void setPropertyName(java.lang.String propertyName)

getNewValue

public org.omg.CORBA.Any getNewValue()
Returns:
The new value for the property, expressed as an Object. May be null if multiple properties have changed.

getOldValue

public org.omg.CORBA.Any getOldValue()
Returns:
The old value for the property, expressed as an Object. May be null if multiple properties have changed.

setPropagationId

public void setPropagationId(org.omg.CORBA.Object propagationId)
Parameters:
propagationId - The propagationId object for the event.

getPropagationId

public org.omg.CORBA.Object getPropagationId()
The "propagationId" field is reserved for future use. In Beans 1.0 the sole requirement is that if a listener catches a PropertyChangeEvent and then fires a PropertyChangeEvent of its own, then it should make sure that it propagates the propagationId field from its incoming event to its outgoing event.
Returns:
the propagationId object associated with a bound/constrained property update.

getSource

public org.omg.CORBA.Object getSource()