|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 wrap| Method 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.Notificationpublic Object getFeature()
getFeature in interface org.eclipse.emf.common.notify.Notificationpublic int getFeatureID(Class<?> expectedClass)
getFeatureID in interface org.eclipse.emf.common.notify.NotificationexpectedClass - @see org.eclipse.emf.common.notify.Notification#getFeatureID(java.lang.Class)
public boolean getNewBooleanValue()
getNewBooleanValue in interface org.eclipse.emf.common.notify.Notificationpublic byte getNewByteValue()
getNewByteValue in interface org.eclipse.emf.common.notify.Notificationpublic char getNewCharValue()
getNewCharValue in interface org.eclipse.emf.common.notify.Notificationpublic double getNewDoubleValue()
getNewDoubleValue in interface org.eclipse.emf.common.notify.Notificationpublic float getNewFloatValue()
getNewFloatValue in interface org.eclipse.emf.common.notify.Notificationpublic int getNewIntValue()
getNewIntValue in interface org.eclipse.emf.common.notify.Notificationpublic long getNewLongValue()
getNewLongValue in interface org.eclipse.emf.common.notify.Notificationpublic short getNewShortValue()
getNewShortValue in interface org.eclipse.emf.common.notify.Notificationpublic String getNewStringValue()
getNewStringValue in interface org.eclipse.emf.common.notify.Notificationpublic Object getNewValue()
getNewValue in interface org.eclipse.emf.common.notify.Notificationpublic org.eclipse.emf.ecore.EObject getNewModelElementValue()
public Object getNotifier()
getNotifier in interface org.eclipse.emf.common.notify.Notificationpublic boolean getOldBooleanValue()
getOldBooleanValue in interface org.eclipse.emf.common.notify.Notificationpublic byte getOldByteValue()
getOldByteValue in interface org.eclipse.emf.common.notify.Notificationpublic char getOldCharValue()
getOldCharValue in interface org.eclipse.emf.common.notify.Notificationpublic double getOldDoubleValue()
getOldDoubleValue in interface org.eclipse.emf.common.notify.Notificationpublic float getOldFloatValue()
getOldFloatValue in interface org.eclipse.emf.common.notify.Notificationpublic int getOldIntValue()
getOldIntValue in interface org.eclipse.emf.common.notify.Notificationpublic long getOldLongValue()
getOldLongValue in interface org.eclipse.emf.common.notify.Notificationpublic short getOldShortValue()
getOldShortValue in interface org.eclipse.emf.common.notify.Notificationpublic String getOldStringValue()
getOldStringValue in interface org.eclipse.emf.common.notify.Notificationpublic Object getOldValue()
getOldValue in interface org.eclipse.emf.common.notify.Notificationpublic org.eclipse.emf.ecore.EObject getOldModelElementValue()
public int getPosition()
getPosition in interface org.eclipse.emf.common.notify.Notificationpublic boolean isReset()
isReset in interface org.eclipse.emf.common.notify.Notificationpublic boolean isTouch()
isTouch in interface org.eclipse.emf.common.notify.Notificationpublic boolean merge(org.eclipse.emf.common.notify.Notification notification)
merge in interface org.eclipse.emf.common.notify.Notificationnotification - @see
org.eclipse.emf.common.notify.Notification#merge(org.eclipse.emf.common.notify.Notification)
public boolean wasUnset()
public String toString()
toString in class Objectpublic 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.NotificationNotification.wasSet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||