public abstract class RewriteEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CHILDREN_CHANGED
Change kind to signal that children changed.
|
static int |
INSERTED
Change kind to describe that the event is an insert event.
|
static int |
REMOVED
Change kind to describe that the event is an remove event.
|
static int |
REPLACED
Change kind to describe that the event is an replace event.
|
static int |
UNCHANGED
Change kind to signal that the property did not change
|
| Constructor and Description |
|---|
RewriteEvent() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getChangeKind() |
abstract RewriteEvent[] |
getChildren() |
abstract java.lang.Object |
getNewValue() |
abstract java.lang.Object |
getOriginalValue() |
abstract boolean |
isListRewrite() |
public static final int INSERTED
public static final int REMOVED
public static final int REPLACED
public static final int CHILDREN_CHANGED
public static final int UNCHANGED
public abstract int getChangeKind()
public abstract boolean isListRewrite()
public abstract java.lang.Object getOriginalValue()
null is returned if the event is an insert event.public abstract java.lang.Object getNewValue()
null is returned if the event is a remove event.public abstract RewriteEvent[] getChildren()
null if the
event is not a list event.