Class ValidationNotification
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.validation.ValidationNotification
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notification
public class ValidationNotification extends java.lang.Object implements org.eclipse.emf.common.notify.Notification
- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description ValidationNotification(org.eclipse.emf.ecore.EObject toValidate)
Creates aValidationNotification
which is used to trigger a validation of a specific EObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEventType()
java.lang.Object
getFeature()
int
getFeatureID(java.lang.Class<?> expectedClass)
boolean
getNewBooleanValue()
byte
getNewByteValue()
char
getNewCharValue()
double
getNewDoubleValue()
float
getNewFloatValue()
int
getNewIntValue()
long
getNewLongValue()
short
getNewShortValue()
java.lang.String
getNewStringValue()
java.lang.Object
getNewValue()
java.lang.Object
getNotifier()
boolean
getOldBooleanValue()
byte
getOldByteValue()
char
getOldCharValue()
double
getOldDoubleValue()
float
getOldFloatValue()
int
getOldIntValue()
long
getOldLongValue()
short
getOldShortValue()
java.lang.String
getOldStringValue()
java.lang.Object
getOldValue()
int
getPosition()
boolean
isReset()
boolean
isTouch()
boolean
merge(org.eclipse.emf.common.notify.Notification notification)
boolean
wasSet()
-
-
-
Constructor Detail
-
ValidationNotification
public ValidationNotification(org.eclipse.emf.ecore.EObject toValidate)
Creates aValidationNotification
which is used to trigger a validation of a specific EObject.- Parameters:
toValidate
- theEObject
to validate
-
-
Method Detail
-
getNotifier
public java.lang.Object getNotifier()
- Specified by:
getNotifier
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNotifier()
-
getEventType
public int getEventType()
- Specified by:
getEventType
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getEventType()
-
getFeatureID
public int getFeatureID(java.lang.Class<?> expectedClass)
- Specified by:
getFeatureID
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getFeatureID(java.lang.Class)
-
getFeature
public java.lang.Object getFeature()
- Specified by:
getFeature
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getFeature()
-
getOldValue
public java.lang.Object getOldValue()
- Specified by:
getOldValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldValue()
-
getNewValue
public java.lang.Object getNewValue()
- Specified by:
getNewValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewValue()
-
wasSet
public boolean wasSet()
- Specified by:
wasSet
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.wasSet()
-
isTouch
public boolean isTouch()
- Specified by:
isTouch
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.isTouch()
-
isReset
public boolean isReset()
- Specified by:
isReset
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.isReset()
-
getPosition
public int getPosition()
- Specified by:
getPosition
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getPosition()
-
merge
public boolean merge(org.eclipse.emf.common.notify.Notification notification)
- Specified by:
merge
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.merge(org.eclipse.emf.common.notify.Notification)
-
getOldBooleanValue
public boolean getOldBooleanValue()
- Specified by:
getOldBooleanValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldBooleanValue()
-
getNewBooleanValue
public boolean getNewBooleanValue()
- Specified by:
getNewBooleanValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewBooleanValue()
-
getOldByteValue
public byte getOldByteValue()
- Specified by:
getOldByteValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldByteValue()
-
getNewByteValue
public byte getNewByteValue()
- Specified by:
getNewByteValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewByteValue()
-
getOldCharValue
public char getOldCharValue()
- Specified by:
getOldCharValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldCharValue()
-
getNewCharValue
public char getNewCharValue()
- Specified by:
getNewCharValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewCharValue()
-
getOldDoubleValue
public double getOldDoubleValue()
- Specified by:
getOldDoubleValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldDoubleValue()
-
getNewDoubleValue
public double getNewDoubleValue()
- Specified by:
getNewDoubleValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewDoubleValue()
-
getOldFloatValue
public float getOldFloatValue()
- Specified by:
getOldFloatValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldFloatValue()
-
getNewFloatValue
public float getNewFloatValue()
- Specified by:
getNewFloatValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewFloatValue()
-
getOldIntValue
public int getOldIntValue()
- Specified by:
getOldIntValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldIntValue()
-
getNewIntValue
public int getNewIntValue()
- Specified by:
getNewIntValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewIntValue()
-
getOldLongValue
public long getOldLongValue()
- Specified by:
getOldLongValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldLongValue()
-
getNewLongValue
public long getNewLongValue()
- Specified by:
getNewLongValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewLongValue()
-
getOldShortValue
public short getOldShortValue()
- Specified by:
getOldShortValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldShortValue()
-
getNewShortValue
public short getNewShortValue()
- Specified by:
getNewShortValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewShortValue()
-
getOldStringValue
public java.lang.String getOldStringValue()
- Specified by:
getOldStringValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getOldStringValue()
-
getNewStringValue
public java.lang.String getNewStringValue()
- Specified by:
getNewStringValue
in interfaceorg.eclipse.emf.common.notify.Notification
- See Also:
Notification.getNewStringValue()
-
-