Event.SequencingNODE_ADDED, NODE_MOVED, NODE_REMOVED, PERSIST, PROPERTY_ADDED, PROPERTY_CHANGED, PROPERTY_REMOVED| Modifier and Type | Method and Description |
|---|---|
Object |
getCurrentValue()
Returns the single value of the property if it's not a multi-value property, or the first value from the list of values if
the property is multi-valued.
|
List<?> |
getCurrentValues()
Returns all the values of the property.
|
Object |
getPreviousValue()
In case of a
Event.PROPERTY_CHANGED event, returns the single value of the old property if it
wasn't a multi-value property, or the first value from the list of values if the property was multi-valued. |
List<?> |
getPreviousValues()
In case of a
Event.PROPERTY_CHANGED event, returns all the values of the old property. |
boolean |
isMultiValue()
Returns
true if this property is multi-valued and false if this property is single-valued. |
boolean |
wasMultiValue()
In case of a
Event.PROPERTY_CHANGED event, returns true if the old property was
multi-valued and false if the old property was single-valued. |
getDate, getIdentifier, getInfo, getPath, getType, getUserData, getUserIDboolean isMultiValue()
true if this property is multi-valued and false if this property is single-valued.Object getCurrentValue()
Object corresponding to the value of the property or null if the property has no valueList<?> getCurrentValues()
List with all the values of the property, never nullboolean wasMultiValue()
Event.PROPERTY_CHANGED event, returns true if the old property was
multi-valued and false if the old property was single-valued.
For all other property events, this will return false.false if the event type is not
Event.PROPERTY_CHANGEDObject getPreviousValue()
Event.PROPERTY_CHANGED event, returns the single value of the old property if it
wasn't a multi-value property, or the first value from the list of values if the property was multi-valued.Object corresponding to the value of the old property or null if the old property had no value or
if the event is not aEvent.PROPERTY_CHANGED eventList<?> getPreviousValues()
Event.PROPERTY_CHANGED event, returns all the values of the old property. If the
property was single-valued, it will return a list with 1 element.List with all the values of the old property or null if the event is not a
Event.PROPERTY_CHANGED event.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.