org.eclipse.emf.emfstore.common.model.util
Interface ESNotificationInfo
- All Known Implementing Classes:
- ESNotificationInfoImpl
public interface ESNotificationInfo
A wrapper type around NotificationInfo
that adds some convenience methods.
- Author:
- jsommerfeldt
getStructuralFeature
org.eclipse.emf.ecore.EStructuralFeature getStructuralFeature()
- Returns:
- the structural feature affected
isValid
boolean isValid()
- Returns:
- the valid
getValidationMessage
String getValidationMessage()
- Returns:
- the validationMessage
isAttributeNotification
boolean isAttributeNotification()
- Returns:
- whether this notification signals a change of an attribute value
isReferenceNotification
boolean isReferenceNotification()
- Returns:
- whether this notification signals a change of a reference value
getAttribute
org.eclipse.emf.ecore.EAttribute getAttribute()
- Returns:
- the EAttribute if the notification relates to an attribute, null otherwise
getReference
org.eclipse.emf.ecore.EReference getReference()
- Returns:
- the EReference if the notification relates to a reference feature, null otherwise
isTransient
boolean isTransient()
- Returns:
- true if the changed feature is marked transient, false otherwise
isAddEvent
boolean isAddEvent()
- Returns:
- true if the event is of type Notification.ADD, false otherwise
isRemoveEvent
boolean isRemoveEvent()
- Returns:
- true if the event is of type Notification.REMOVE, false otherwise
isSetEvent
boolean isSetEvent()
- Returns:
- true if the event is of type Notification.SET, false otherwise
isAddManyEvent
boolean isAddManyEvent()
- Returns:
- true if the event is of type Notification.ADD_MANY, false otherwise
isRemoveManyEvent
boolean isRemoveManyEvent()
- Returns:
- true if the event is of type Notification.REMOVE_MANY, false otherwise
isMoveEvent
boolean isMoveEvent()
- Returns:
- true if the event is of type Notification.MOVE, false otherwise
hasNext
boolean hasNext()
- Returns:
- true if this notification is followed by more notifications in a chain, false if this is the last
notification of a chain
getEventType
int getEventType()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getEventType()
getFeature
Object getFeature()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getFeature()
getFeatureID
int getFeatureID(Class<?> expectedClass)
- Parameters:
expectedClass
- @see org.eclipse.emf.common.notify.Notification#getFeatureID(java.lang.Class)
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getFeatureID(java.lang.Class)
getNewBooleanValue
boolean getNewBooleanValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewBooleanValue()
getNewByteValue
byte getNewByteValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewByteValue()
getNewCharValue
char getNewCharValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewCharValue()
getNewDoubleValue
double getNewDoubleValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewDoubleValue()
getNewFloatValue
float getNewFloatValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewFloatValue()
getNewIntValue
int getNewIntValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewIntValue()
getNewLongValue
long getNewLongValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewLongValue()
getNewShortValue
short getNewShortValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewShortValue()
getNewStringValue
String getNewStringValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewStringValue()
getNewValue
Object getNewValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewValue()
getNewModelElementValue
org.eclipse.emf.ecore.EObject getNewModelElementValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNewValue()
getNotifier
Object getNotifier()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNotifier()
getOldBooleanValue
boolean getOldBooleanValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldBooleanValue()
getOldByteValue
byte getOldByteValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldByteValue()
getOldCharValue
char getOldCharValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldCharValue()
getOldDoubleValue
double getOldDoubleValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldDoubleValue()
getOldFloatValue
float getOldFloatValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldFloatValue()
getOldIntValue
int getOldIntValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldIntValue()
getOldLongValue
long getOldLongValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldLongValue()
getOldShortValue
short getOldShortValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldShortValue()
getOldStringValue
String getOldStringValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldStringValue()
getOldValue
Object getOldValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldValue()
getOldModelElementValue
org.eclipse.emf.ecore.EObject getOldModelElementValue()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getOldValue()
getPosition
int getPosition()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getPosition()
isReset
boolean isReset()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#isReset()
isTouch
boolean isTouch()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#isTouch()
wasSet
boolean wasSet()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#wasSet()
getNotifierModelElement
org.eclipse.emf.ecore.EObject getNotifierModelElement()
- Returns:
- @see org.eclipse.emf.common.notify.Notification#getNotifier()
getNotificationType
Class<? extends org.eclipse.emf.common.notify.Notification> getNotificationType()
- Returns the type of the
Notification
.
- Returns:
- a
Notification
type
Copyright © 2015. All Rights Reserved.