|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.NotificationWrapper
public class 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 java.lang.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(java.lang.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. |
java.lang.Object |
getFeature()
Delegates to the getFeature method of the notification. |
int |
getFeatureID(java.lang.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. |
java.lang.String |
getNewStringValue()
Delegates to the getNewStringValue method of the notification. |
java.lang.Object |
getNewValue()
Delegates to the getNewValue method of the notification. |
java.lang.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. |
java.lang.String |
getOldStringValue()
Delegates to the getOldStringValue method of the notification. |
java.lang.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 java.lang.Object notifier
Constructor Detail |
---|
public NotificationWrapper(Notification notification)
public NotificationWrapper(java.lang.Object notifier, Notification notification)
Method Detail |
---|
public java.lang.Object getNotifier()
getNotifier
in interface Notification
public int getEventType()
getEventType
in interface Notification
Notifier
public int getFeatureID(java.lang.Class<?> expectedClass)
getFeatureID
in interface Notification
expectedClass
- the class to which the ID is relative.
Notification.NO_FEATURE_ID
public java.lang.Object getFeature()
getFeature
in interface Notification
public java.lang.Object getOldValue()
getOldValue
in interface Notification
public java.lang.Object getNewValue()
getNewValue
in interface Notification
public boolean wasSet()
wasSet
in interface Notification
public boolean isTouch()
isTouch
in interface Notification
public boolean isReset()
isReset
in interface Notification
public int getPosition()
getPosition
in interface Notification
public boolean merge(Notification notification)
merge
in interface Notification
public boolean getOldBooleanValue()
getOldBooleanValue
in interface Notification
public boolean getNewBooleanValue()
getNewBooleanValue
in interface Notification
public byte getOldByteValue()
getOldByteValue
in interface Notification
public byte getNewByteValue()
getNewByteValue
in interface Notification
public char getOldCharValue()
getOldCharValue
in interface Notification
public char getNewCharValue()
getNewCharValue
in interface Notification
public double getOldDoubleValue()
getOldDoubleValue
in interface Notification
public double getNewDoubleValue()
getNewDoubleValue
in interface Notification
public float getOldFloatValue()
getOldFloatValue
in interface Notification
public float getNewFloatValue()
getNewFloatValue
in interface Notification
public int getOldIntValue()
getOldIntValue
in interface Notification
public int getNewIntValue()
getNewIntValue
in interface Notification
public long getOldLongValue()
getOldLongValue
in interface Notification
public long getNewLongValue()
getNewLongValue
in interface Notification
public short getOldShortValue()
getOldShortValue
in interface Notification
public short getNewShortValue()
getNewShortValue
in interface Notification
public java.lang.String getOldStringValue()
getOldStringValue
in interface Notification
public java.lang.String getNewStringValue()
getNewStringValue
in interface Notification
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |