org.ow2.wildcat.event
Class WAttributeEvent
java.lang.Object
org.ow2.wildcat.event.WEvent
org.ow2.wildcat.event.WAttributeEvent
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, WEventInterface
public class WAttributeEvent
- extends WEvent
- implements WEventInterface
WAttributeEvent holds events related to an attribute value change.
- See Also:
- Serialized Form
|
Field Summary |
protected java.lang.Object |
value
The new value of the attribtue |
| Fields inherited from class org.ow2.wildcat.event.WEvent |
source |
|
Method Summary |
java.lang.Object |
getValue()
POJO-style getter. |
java.lang.Object |
getValue(java.lang.String key)
Map-style getter. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
protected java.lang.Object value
- The new value of the attribtue
WAttributeEvent
public WAttributeEvent(Path source,
java.lang.Object value)
- Constructor.
- Parameters:
source - the location of the attributevalue - the new value of the attribute
getValue
public java.lang.Object getValue()
- POJO-style getter.
- Returns:
- the attribute new value
getValue
public java.lang.Object getValue(java.lang.String key)
- Map-style getter.
- Parameters:
key - map key
- Returns:
- Map value or null if key is not associated
toString
public java.lang.String toString()
- Overrides:
toString in class WEvent
Copyright © 2008 OW2 Consortium. All Rights Reserved.