|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.common.model.util.NotificationInfo
public class NotificationInfo
NotificationInfo is a type safe wrapper for EMF Notifications. It wraps a org.eclipse.emf.common.notify.Notification and implements a few additional getter methods
Field Summary |
---|
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 | |
---|---|
NotificationInfo(org.eclipse.emf.common.notify.Notification n)
The constructor needs the notification to wrap. |
Method Summary | |
---|---|
ESNotificationInfo |
createAPI()
Creates the API interface for this class. |
org.eclipse.emf.ecore.EAttribute |
getAttribute()
|
String |
getDebugString()
|
int |
getEventType()
|
Object |
getFeature()
|
int |
getFeatureID(Class<?> expectedClass)
|
boolean |
getNewBooleanValue()
|
byte |
getNewByteValue()
|
char |
getNewCharValue()
|
double |
getNewDoubleValue()
|
float |
getNewFloatValue()
|
int |
getNewIntValue()
|
long |
getNewLongValue()
|
org.eclipse.emf.ecore.EObject |
getNewModelElementValue()
|
short |
getNewShortValue()
|
String |
getNewStringValue()
|
Object |
getNewValue()
|
Class<? extends org.eclipse.emf.common.notify.Notification> |
getNotificationType()
Returns the type of the Notification . |
Object |
getNotifier()
|
org.eclipse.emf.ecore.EObject |
getNotifierModelElement()
|
boolean |
getOldBooleanValue()
|
byte |
getOldByteValue()
|
char |
getOldCharValue()
|
double |
getOldDoubleValue()
|
float |
getOldFloatValue()
|
int |
getOldIntValue()
|
long |
getOldLongValue()
|
org.eclipse.emf.ecore.EObject |
getOldModelElementValue()
|
short |
getOldShortValue()
|
String |
getOldStringValue()
|
Object |
getOldValue()
|
int |
getPosition()
|
org.eclipse.emf.ecore.EReference |
getReference()
|
org.eclipse.emf.ecore.EStructuralFeature |
getStructuralFeature()
|
String |
getValidationMessage()
|
boolean |
hasNext()
|
boolean |
isAddEvent()
|
boolean |
isAddManyEvent()
|
boolean |
isAttributeNotification()
|
boolean |
isMoveEvent()
|
boolean |
isReferenceNotification()
|
boolean |
isRemoveEvent()
|
boolean |
isRemoveManyEvent()
|
boolean |
isReset()
|
boolean |
isSetEvent()
|
boolean |
isTouch()
|
boolean |
isTransient()
|
boolean |
isValid()
|
boolean |
merge(org.eclipse.emf.common.notify.Notification notification)
|
ESNotificationInfo |
toAPI()
Returns the API interface of this class. |
String |
toString()
|
boolean |
wasSet()
|
boolean |
wasUnset()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NotificationInfo(org.eclipse.emf.common.notify.Notification n)
n
- the notification to wrapMethod Detail |
---|
public org.eclipse.emf.ecore.EStructuralFeature getStructuralFeature()
public boolean isValid()
public String getValidationMessage()
public boolean isAttributeNotification()
public boolean isReferenceNotification()
public org.eclipse.emf.ecore.EAttribute getAttribute()
public org.eclipse.emf.ecore.EReference getReference()
public boolean isTransient()
public boolean isAddEvent()
public boolean isRemoveEvent()
public boolean isSetEvent()
public boolean isAddManyEvent()
public boolean isRemoveManyEvent()
public boolean isMoveEvent()
public boolean hasNext()
public int getEventType()
getEventType
in interface org.eclipse.emf.common.notify.Notification
public Object getFeature()
getFeature
in interface org.eclipse.emf.common.notify.Notification
public int getFeatureID(Class<?> expectedClass)
getFeatureID
in interface org.eclipse.emf.common.notify.Notification
expectedClass
- @see org.eclipse.emf.common.notify.Notification#getFeatureID(java.lang.Class)
public boolean getNewBooleanValue()
getNewBooleanValue
in interface org.eclipse.emf.common.notify.Notification
public byte getNewByteValue()
getNewByteValue
in interface org.eclipse.emf.common.notify.Notification
public char getNewCharValue()
getNewCharValue
in interface org.eclipse.emf.common.notify.Notification
public double getNewDoubleValue()
getNewDoubleValue
in interface org.eclipse.emf.common.notify.Notification
public float getNewFloatValue()
getNewFloatValue
in interface org.eclipse.emf.common.notify.Notification
public int getNewIntValue()
getNewIntValue
in interface org.eclipse.emf.common.notify.Notification
public long getNewLongValue()
getNewLongValue
in interface org.eclipse.emf.common.notify.Notification
public short getNewShortValue()
getNewShortValue
in interface org.eclipse.emf.common.notify.Notification
public String getNewStringValue()
getNewStringValue
in interface org.eclipse.emf.common.notify.Notification
public Object getNewValue()
getNewValue
in interface org.eclipse.emf.common.notify.Notification
public org.eclipse.emf.ecore.EObject getNewModelElementValue()
public Object getNotifier()
getNotifier
in interface org.eclipse.emf.common.notify.Notification
public boolean getOldBooleanValue()
getOldBooleanValue
in interface org.eclipse.emf.common.notify.Notification
public byte getOldByteValue()
getOldByteValue
in interface org.eclipse.emf.common.notify.Notification
public char getOldCharValue()
getOldCharValue
in interface org.eclipse.emf.common.notify.Notification
public double getOldDoubleValue()
getOldDoubleValue
in interface org.eclipse.emf.common.notify.Notification
public float getOldFloatValue()
getOldFloatValue
in interface org.eclipse.emf.common.notify.Notification
public int getOldIntValue()
getOldIntValue
in interface org.eclipse.emf.common.notify.Notification
public long getOldLongValue()
getOldLongValue
in interface org.eclipse.emf.common.notify.Notification
public short getOldShortValue()
getOldShortValue
in interface org.eclipse.emf.common.notify.Notification
public String getOldStringValue()
getOldStringValue
in interface org.eclipse.emf.common.notify.Notification
public Object getOldValue()
getOldValue
in interface org.eclipse.emf.common.notify.Notification
public org.eclipse.emf.ecore.EObject getOldModelElementValue()
public int getPosition()
getPosition
in interface org.eclipse.emf.common.notify.Notification
public boolean isReset()
isReset
in interface org.eclipse.emf.common.notify.Notification
public boolean isTouch()
isTouch
in interface org.eclipse.emf.common.notify.Notification
public boolean merge(org.eclipse.emf.common.notify.Notification notification)
merge
in interface org.eclipse.emf.common.notify.Notification
notification
- @see
org.eclipse.emf.common.notify.Notification#merge(org.eclipse.emf.common.notify.Notification)
public boolean wasUnset()
public String toString()
toString
in class Object
public org.eclipse.emf.ecore.EObject getNotifierModelElement()
public String getDebugString()
public Class<? extends org.eclipse.emf.common.notify.Notification> getNotificationType()
Notification
.
Notification
typepublic ESNotificationInfo toAPI()
toAPI
in interface APIDelegate<ESNotificationInfo>
APIDelegate.toAPI()
public ESNotificationInfo createAPI()
createAPI
in interface APIDelegate<ESNotificationInfo>
APIDelegate.createAPI()
public boolean wasSet()
wasSet
in interface org.eclipse.emf.common.notify.Notification
Notification.wasSet()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |