| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.NotificationWrapper
A notification that wraps another notification. All the Notification methods are delegated to the wrapped notification.
Field Summary | |
protected Notification | notification
The notification that is being wrapped. |
protected Object | notifier
An optional override value for the notification's notifier. |
Fields inherited from interface org.eclipse.emf.common.notify.Notification |
ADD, ADD_MANY, CREATE, EVENT_TYPE_COUNT, MOVE, NO_FEATURE_ID, NO_INDEX, REMOVE, REMOVE_MANY, REMOVING_ADAPTER, RESOLVE, SET, UNSET |
Constructor Summary | |
NotificationWrapper(Notification notification)
Create an instance with the specified notification. | |
NotificationWrapper(Object notifier,
Notification notification)
Create an instance with the specified notifier and notification. |
Method Summary | |
int | getEventType()
Delegates to the getEventType method of the notification. |
Object | getFeature()
Delegates to the getFeature method of the notification. |
int | getFeatureID(Class expectedClass)
Delegates to the getFeatureID method of the notification. |
boolean | getNewBooleanValue()
Delegates to the getNewBooleanValue method of the notification. |
byte | getNewByteValue()
Delegates to the getNewByteValue method of the notification. |
char | getNewCharValue()
Delegates to the getNewCharValue method of the notification. |
double | getNewDoubleValue()
Delegates to the getNewDoubleValue method of the notification. |
float | getNewFloatValue()
Delegates to the getNewFloatValue method of the notification. |
int | getNewIntValue()
Delegates to the getNewIntValue method of the notification. |
long | getNewLongValue()
Delegates to the getNewLongValue method of the notification. |
short | getNewShortValue()
Delegates to the getNewShortValue method of the notification. |
String | getNewStringValue()
Delegates to the getNewStringValue method of the notification. |
Object | getNewValue()
Delegates to the getNewValue method of the notification. |
Object | getNotifier()
Returns the local notifier if set; otherwise delegates to the getNotifier method of the notification. |
boolean | getOldBooleanValue()
Delegates to the getOldBooleanValue method of the notification. |
byte | getOldByteValue()
Delegates to the getOldByteValue method of the notification. |
char | getOldCharValue()
Delegates to the getOldCharValue method of the notification. |
double | getOldDoubleValue()
Delegates to the getOldDoubleValue method of the notification. |
float | getOldFloatValue()
Delegates to the getOldFloatValue method of the notification. |
int | getOldIntValue()
Delegates to the getOldIntValue method of the notification. |
long | getOldLongValue()
Delegates to the getOldLongValue method of the notification. |
short | getOldShortValue()
Delegates to the getOldShortValue method of the notification. |
String | getOldStringValue()
Delegates to the getOldStringValue method of the notification. |
Object | getOldValue()
Delegates to the getOldValue method of the notification. |
int | getPosition()
Delegates to the getPosition method of the notification. |
boolean | isReset()
Delegates to the isReset method of the notification. |
boolean | isTouch()
Delegates to the isTouch method of the notification. |
boolean | merge(Notification notification)
Delegates to the merge method of the notification. |
boolean | wasSet()
Delegates to the wasSet method of the notification. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Notification notification
protected Object notifier
Constructor Detail |
public NotificationWrapper(Notification notification)
public NotificationWrapper(Object notifier, Notification notification)
Method Detail |
public Object getNotifier()
public int getEventType()
public int getFeatureID(Class expectedClass)
public Object getFeature()
public Object getOldValue()
public Object getNewValue()
public boolean wasSet()
public boolean isTouch()
public boolean isReset()
public int getPosition()
public boolean merge(Notification notification)
public boolean getOldBooleanValue()
public boolean getNewBooleanValue()
public byte getOldByteValue()
public byte getNewByteValue()
public char getOldCharValue()
public char getNewCharValue()
public double getOldDoubleValue()
public double getNewDoubleValue()
public float getOldFloatValue()
public float getNewFloatValue()
public int getOldIntValue()
public int getNewIntValue()
public long getOldLongValue()
public long getNewLongValue()
public short getOldShortValue()
public short getNewShortValue()
public String getOldStringValue()
public String getNewStringValue()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |