org.eclipse.emf.ecore.change
Interface FeatureChange

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
FeatureChangeImpl

public interface FeatureChange
extends EObject

A representation of the model object 'Feature Change'.

The following features are supported:

See Also:
ChangePackage.getFeatureChange()

Method Summary
 void apply(EObject originalObject)
           
 void applyAndReverse(EObject originalObject)
           
 java.lang.String getDataValue()
          Returns the value of the 'Data Value' attribute
 EStructuralFeature getFeature()
          Returns the value of the 'Feature' reference
 java.lang.String getFeatureName()
          Returns the value of the 'Feature Name' attribute
 EList<ListChange> getListChanges()
          Returns the value of the 'List Changes' containment reference list.
 EObject getReferenceValue()
          Returns the value of the 'Reference Value' reference
 java.lang.Object getValue()
          Returns the value of the 'Value' attribute
 boolean isSet()
          Returns the value of the 'Set' attribute.
 boolean isSetFeature()
          Returns whether the value of the 'Feature' reference is set
 boolean isSetFeatureName()
          Returns whether the value of the 'Feature Name' attribute is set
 void setDataValue(java.lang.String value)
          Sets the value of the 'Data Value' attribute
 void setFeature(EStructuralFeature value)
          Sets the value of the 'Feature' reference
 void setFeatureName(java.lang.String value)
          Sets the value of the 'Feature Name' attribute
 void setReferenceValue(EObject value)
          Sets the value of the 'Reference Value' reference
 void setSet(boolean value)
          Sets the value of the 'Set' attribute
 void unsetFeature()
          Unsets the value of the 'Feature' reference
 void unsetFeatureName()
          Unsets the value of the 'Feature Name' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getFeatureName

java.lang.String getFeatureName()
Returns the value of the 'Feature Name' attribute.

Returns:
the value of the 'Feature Name' attribute.
See Also:
isSetFeatureName(), unsetFeatureName(), setFeatureName(String), ChangePackage.getFeatureChange_FeatureName()

setFeatureName

void setFeatureName(java.lang.String value)
Sets the value of the 'Feature Name' attribute.

Parameters:
value - the new value of the 'Feature Name' attribute.
See Also:
isSetFeatureName(), unsetFeatureName(), getFeatureName()

unsetFeatureName

void unsetFeatureName()
Unsets the value of the 'Feature Name' attribute.

See Also:
isSetFeatureName(), getFeatureName(), setFeatureName(String)

isSetFeatureName

boolean isSetFeatureName()
Returns whether the value of the 'Feature Name' attribute is set.

Returns:
whether the value of the 'Feature Name' attribute is set.
See Also:
unsetFeatureName(), getFeatureName(), setFeatureName(String)

getDataValue

java.lang.String getDataValue()
Returns the value of the 'Data Value' attribute.

Returns:
the value of the 'Data Value' attribute.
See Also:
setDataValue(String), ChangePackage.getFeatureChange_DataValue()

setDataValue

void setDataValue(java.lang.String value)
Sets the value of the 'Data Value' attribute.

Parameters:
value - the new value of the 'Data Value' attribute.
See Also:
getDataValue()

isSet

boolean isSet()
Returns the value of the 'Set' attribute. The default value is "true".

Returns:
the value of the 'Set' attribute.
See Also:
setSet(boolean), ChangePackage.getFeatureChange_Set()

setSet

void setSet(boolean value)
Sets the value of the 'Set' attribute.

Parameters:
value - the new value of the 'Set' attribute.
See Also:
isSet()

getFeature

EStructuralFeature getFeature()
Returns the value of the 'Feature' reference.

Returns:
the value of the 'Feature' reference.
See Also:
isSetFeature(), unsetFeature(), setFeature(EStructuralFeature), ChangePackage.getFeatureChange_Feature()

setFeature

void setFeature(EStructuralFeature value)
Sets the value of the 'Feature' reference.

Parameters:
value - the new value of the 'Feature' reference.
See Also:
isSetFeature(), unsetFeature(), getFeature()

unsetFeature

void unsetFeature()
Unsets the value of the 'Feature' reference.

See Also:
isSetFeature(), getFeature(), setFeature(EStructuralFeature)

isSetFeature

boolean isSetFeature()
Returns whether the value of the 'Feature' reference is set.

Returns:
whether the value of the 'Feature' reference is set.
See Also:
unsetFeature(), getFeature(), setFeature(EStructuralFeature)

getReferenceValue

EObject getReferenceValue()
Returns the value of the 'Reference Value' reference.

Returns:
the value of the 'Reference Value' reference.
See Also:
setReferenceValue(EObject), ChangePackage.getFeatureChange_ReferenceValue()

setReferenceValue

void setReferenceValue(EObject value)
Sets the value of the 'Reference Value' reference.

Parameters:
value - the new value of the 'Reference Value' reference.
See Also:
getReferenceValue()

getListChanges

EList<ListChange> getListChanges()
Returns the value of the 'List Changes' containment reference list. The list contents are of type ListChange.

Returns:
the value of the 'List Changes' containment reference list.
See Also:
ChangePackage.getFeatureChange_ListChanges()

getValue

java.lang.Object getValue()
Returns the value of the 'Value' attribute.

Returns:
the value of the 'Value' attribute.
See Also:
ChangePackage.getFeatureChange_Value()

apply

void apply(EObject originalObject)


applyAndReverse

void applyAndReverse(EObject originalObject)


Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.