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