com.metamatrix.toolbox.property
Class VetoedChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.metamatrix.toolbox.property.VetoedChangeEvent
All Implemented Interfaces:
java.io.Serializable

public class VetoedChangeEvent
extends java.util.EventObject

This event is fired by supporting objects that reject (veto) a change to a property.

Since:
2.0
Version:
2.0
Author:
John P. A. Verhaeg
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VetoedChangeEvent(java.lang.Object source, java.lang.String property, java.lang.Object value)
           
 
Method Summary
 java.lang.String getPropertyName()
           
 java.lang.Object getValue()
           
 
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

VetoedChangeEvent

public VetoedChangeEvent(java.lang.Object source,
                         java.lang.String property,
                         java.lang.Object value)
Parameters:
source - The object that vetoed the change
property - The name of the property upon which the change was attempted
value - The vetoed value
Since:
2.0
Method Detail

getPropertyName

public java.lang.String getPropertyName()
Returns:
The name of the property upon which the change was attempted
Since:
2.0

getValue

public java.lang.Object getValue()
Returns:
The vetoed value
Since:
2.0


Copyright © 2009. All Rights Reserved.