public class IlrRFEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD
Constant indentifying an "add" event.
|
static int |
REMOVE
Constant indentifying a "remove" event.
|
static int |
SET
Constant indentifying a "set" event.
|
| Constructor and Description |
|---|
IlrRFEvent(IlrRFElement source,
int eventType,
java.lang.String property,
boolean oldValue,
boolean newValue)
Builds a new notification.
|
IlrRFEvent(IlrRFElement source,
int eventType,
java.lang.String property,
int oldValue,
int newValue)
Builds a new notification.
|
IlrRFEvent(IlrRFElement source,
int eventType,
java.lang.String property,
java.lang.Object oldValue,
java.lang.Object newValue)
Builds a new notification.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getEventType()
Returns the event type of this event.
|
java.lang.Object |
getNewValue()
Returns the new value of this event.
|
java.lang.Object |
getOldValue()
Returns the old value of this event.
|
java.lang.String |
getProperty()
Returns the feature ID of this event.
|
IlrRFElement |
getSource()
Returns the source object for this event.
|
public static final int ADD
public static final int REMOVE
public static final int SET
public IlrRFEvent(IlrRFElement source, int eventType, java.lang.String property, java.lang.Object oldValue, java.lang.Object newValue)
source - The source element.eventType - The type of event.property - The property.oldValue - The old value.newValue - The new value.public IlrRFEvent(IlrRFElement source, int eventType, java.lang.String property, boolean oldValue, boolean newValue)
source - The source element.eventType - The type of event.property - The property.oldValue - The old value.newValue - The new value.public IlrRFEvent(IlrRFElement source, int eventType, java.lang.String property, int oldValue, int newValue)
source - The source element.eventType - The type of event.property - The property.oldValue - The old value.newValue - The new value.public java.lang.String getProperty()
public int getEventType()
public java.lang.Object getNewValue()
null when the event is a removal.public java.lang.Object getOldValue()
null when the event is an addition.public IlrRFElement getSource()
© Copyright IBM Corp. 1987, 2017