public final class IlrNotification
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD |
static int |
ADD_MANY |
static int |
CREATE |
static int |
REMOVE |
static int |
REMOVE_MANY |
static int |
SET |
| Constructor and Description |
|---|
IlrNotification(IlrNotifier notifier,
int eventType,
int featureId,
boolean oldValue,
boolean newValue)
Builds a new notification.
|
IlrNotification(IlrNotifier notifier,
int eventType,
int featureId,
int oldValue,
int newValue)
Builds a new notification.
|
IlrNotification(IlrNotifier notifier,
int eventType,
int featureId,
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 notification.
|
int |
getFeatureID()
Returns the feature ID of this notification.
|
java.lang.Object |
getNewValue()
Returns the new value of this notification.
|
IlrNotifier |
getNotifier()
Returns the notifier of this notification.
|
java.lang.Object |
getOldValue()
Returns the old value of this notification.
|
public static final int CREATE
public static final int ADD
public static final int ADD_MANY
public static final int REMOVE
public static final int REMOVE_MANY
public static final int SET
public IlrNotification(IlrNotifier notifier, int eventType, int featureId, java.lang.Object oldValue, java.lang.Object newValue)
eventType - featureId - oldValue - newValue - public IlrNotification(IlrNotifier notifier, int eventType, int featureId, boolean oldValue, boolean newValue)
eventType - featureId - oldValue - newValue - public IlrNotification(IlrNotifier notifier, int eventType, int featureId, int oldValue, int newValue)
eventType - featureId - oldValue - newValue - public int getFeatureID()
public int getEventType()
public java.lang.Object getNewValue()
null when the notification is a removal.public java.lang.Object getOldValue()
null when the notification is an addition.public IlrNotifier getNotifier()
© Copyright IBM Corp. 1987, 2017