public class XpathEvent extends Object
Modifier and Type | Field and Description |
---|---|
static Object |
BEAN_ADDED
Adding a DDBean
|
static Object |
BEAN_CHANGED
Changing a DDBean
|
static Object |
BEAN_REMOVED
Removing a DDBean
|
Constructor and Description |
---|
XpathEvent(DDBean bean,
Object type)
A description of a change in the DDBean tree.
|
Modifier and Type | Method and Description |
---|---|
DDBean |
getBean()
The bean being added/removed/changed.
|
PropertyChangeEvent |
getChangeEvent()
Gets the underlying property change event, with new and
old values.
|
boolean |
isAddEvent()
Is this an add event?
|
boolean |
isChangeEvent()
Is this a change event?
|
boolean |
isRemoveEvent()
Is this a remove event?
|
void |
setChangeEvent(PropertyChangeEvent pce)
Sets the underlying property change event, with new and
old values.
|
public static final Object BEAN_ADDED
public static final Object BEAN_REMOVED
public static final Object BEAN_CHANGED
public PropertyChangeEvent getChangeEvent()
public void setChangeEvent(PropertyChangeEvent pce)
pce
- The property change event that triggered this XpathEvent.public DDBean getBean()
public boolean isAddEvent()
true
if this is an add event.public boolean isRemoveEvent()
true
if this is a remove event.public boolean isChangeEvent()
true
if this is a change event.Copyright © 2013. All Rights Reserved.