Interface ValueChange
-
- All Superinterfaces:
Change,org.eclipse.emf.ecore.EObject,MigrateableChange,org.eclipse.emf.common.notify.Notifier,PrimitiveChange
- All Known Implementing Classes:
AddImpl,RemoveImpl,SetImpl,ValueChangeImpl
public interface ValueChange extends PrimitiveChange
A representation of the model object 'Value Change'. A base class for metamodel changes which affect attributes and cross references of elementsThe following features are supported:
- See Also:
HistoryPackage.getValueChange()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDataValue()Returns the value of the 'Data Value' attribute.org.eclipse.emf.ecore.EObjectgetElement()Returns the value of the 'Element' reference.org.eclipse.emf.ecore.EStructuralFeaturegetFeature()Returns the value of the 'Feature' reference.StringgetFeatureName()Returns the value of the 'Feature Name' attribute.org.eclipse.emf.ecore.EObjectgetReferenceValue()Returns the value of the 'Reference Value' reference.ObjectgetValue()Returns the value of the 'Value' attribute.voidsetDataValue(String value)Sets the value of the 'Data Value' attribute.voidsetElement(org.eclipse.emf.ecore.EObject value)Sets the value of the 'Element' reference.voidsetFeature(org.eclipse.emf.ecore.EStructuralFeature value)Sets the value of the 'Feature' reference.voidsetFeatureName(String value)Sets the value of the 'Feature Name' attribute.voidsetReferenceValue(org.eclipse.emf.ecore.EObject value)Sets the value of the 'Reference Value' reference.voidsetValue(Object value)Sets the value of the 'Value' attribute.-
Methods inherited from interface org.eclipse.emf.edapt.spi.history.Change
getDescription, getRelease, isBreaking, setBreaking, setDescription
-
-
-
-
Method Detail
-
getElement
org.eclipse.emf.ecore.EObject getElement()
Returns the value of the 'Element' reference. The element whose attribute or cross reference will be changed- Returns:
- the value of the 'Element' reference.
- See Also:
setElement(EObject),HistoryPackage.getValueChange_Element()
-
setElement
void setElement(org.eclipse.emf.ecore.EObject value)
Sets the value of the 'Element' reference.- Parameters:
value- the new value of the 'Element' reference.- See Also:
getElement()
-
getFeature
org.eclipse.emf.ecore.EStructuralFeature getFeature()
Returns the value of the 'Feature' reference. A sequence of metamodel versions- Returns:
- the value of the 'Feature' reference.
- See Also:
setFeature(EStructuralFeature),HistoryPackage.getValueChange_Feature()
-
setFeature
void setFeature(org.eclipse.emf.ecore.EStructuralFeature value)
Sets the value of the 'Feature' reference.- Parameters:
value- the new value of the 'Feature' reference.- See Also:
getFeature()
-
getFeatureName
String getFeatureName()
Returns the value of the 'Feature Name' attribute. A reference to the meta-metamodel feature which is derived from the featureName attribute- Returns:
- the value of the 'Feature Name' attribute.
- See Also:
setFeatureName(String),HistoryPackage.getValueChange_FeatureName()
-
setFeatureName
void setFeatureName(String value)
Sets the value of the 'Feature Name' attribute.- Parameters:
value- the new value of the 'Feature Name' attribute.- See Also:
getFeatureName()
-
getDataValue
String getDataValue()
Returns the value of the 'Data Value' attribute. Serialized value of a primitive type to be set in, added to or removed from an attribute- Returns:
- the value of the 'Data Value' attribute.
- See Also:
setDataValue(String),HistoryPackage.getValueChange_DataValue()
-
setDataValue
void setDataValue(String value)
Sets the value of the 'Data Value' attribute.- Parameters:
value- the new value of the 'Data Value' attribute.- See Also:
getDataValue()
-
getReferenceValue
org.eclipse.emf.ecore.EObject getReferenceValue()
Returns the value of the 'Reference Value' reference. Value of an object type to be set in, added to or removed from an reference- Returns:
- the value of the 'Reference Value' reference.
- See Also:
setReferenceValue(EObject),HistoryPackage.getValueChange_ReferenceValue()
-
setReferenceValue
void setReferenceValue(org.eclipse.emf.ecore.EObject value)
Sets the value of the 'Reference Value' reference.- Parameters:
value- the new value of the 'Reference Value' reference.- See Also:
getReferenceValue()
-
getValue
Object getValue()
Returns the value of the 'Value' attribute. Derived attribute that provides either dataValue or referenceValue depending on the type of the feature (attribute or reference respectively)- Returns:
- the value of the 'Value' attribute.
- See Also:
setValue(Object),HistoryPackage.getValueChange_Value()
-
setValue
void setValue(Object value)
Sets the value of the 'Value' attribute.- Parameters:
value- the new value of the 'Value' attribute.- See Also:
getValue()
-
-