public class FeatureChangeImpl extends EObjectImpl implements FeatureChange
The following features are implemented:
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DATA_VALUE_EDEFAULT
The default value of the '
Data Value ' attribute |
protected static int |
EPROXY_FEATURECHANGE
The bit of
EObjectImpl.eFlags that is used to represent if feature is a proxy. |
protected EStructuralFeature |
feature |
protected static java.lang.String |
FEATURE_NAME_EDEFAULT
The default value of the '
Feature Name ' attribute |
protected java.lang.String |
featureName |
protected EList<ListChange> |
listChanges
The cached value of the '
List Changes ' containment reference list |
protected boolean |
newIsSet |
protected java.lang.Object |
newValue |
protected boolean |
set
The cached value of the '
Set ' attribute |
protected static boolean |
SET_EDEFAULT
The default value of the '
Set ' attribute |
protected java.lang.Object |
value |
protected static java.lang.Object |
VALUE_EDEFAULT
The default value of the '
Value ' attribute |
protected java.lang.String |
valueString |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
FeatureChangeImpl() |
protected |
FeatureChangeImpl(EStructuralFeature feature,
java.lang.Object value,
boolean isSet) |
Modifier and Type | Method and Description |
---|---|
protected void |
apply(EList<java.lang.Object> toList) |
void |
apply(EObject originalObject) |
protected void |
apply(EObject originalObject,
boolean reverse) |
protected void |
applyAndReverse(EList<java.lang.Object> toList) |
void |
applyAndReverse(EObject originalObject) |
EStructuralFeature |
basicGetFeature() |
EObject |
basicGetReferenceValue() |
protected ListChange |
createListChange(EList<ListChange> changesList,
ChangeKind kind,
int index) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
java.lang.String |
getDataValue() |
EStructuralFeature |
getFeature() |
java.lang.String |
getFeatureName() |
EList<ListChange> |
getListChanges() |
protected EList<?> |
getListValue(EList<?> originalList) |
EObject |
getReferenceValue() |
java.lang.Object |
getValue() |
boolean |
isSet() |
boolean |
isSetFeature() |
boolean |
isSetFeatureName() |
void |
preApply(EObject originalObject,
boolean reverse) |
protected void |
process(EObject originalObject,
boolean reverse,
boolean apply) |
protected void |
reverse(EList<java.lang.Object> toList) |
void |
reverse(EObject originalObject) |
void |
setDataValue(java.lang.String newDataValue) |
void |
setFeature(EStructuralFeature newFeature) |
void |
setFeatureName(java.lang.String newFeatureName) |
void |
setReferenceValue(EObject newReferenceValue) |
void |
setSet(boolean newSet) |
protected void |
setValue(java.lang.Object value) |
java.lang.String |
toString() |
void |
unsetFeature() |
void |
unsetFeatureName() |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
protected static final int EPROXY_FEATURECHANGE
EObjectImpl.eFlags
that is used to represent if feature is a proxy.protected static final java.lang.String FEATURE_NAME_EDEFAULT
Feature Name
' attribute.
getFeatureName()
protected static final java.lang.String DATA_VALUE_EDEFAULT
Data Value
' attribute.
getDataValue()
protected static final boolean SET_EDEFAULT
Set
' attribute.
isSet()
,
Constant Field Valuesprotected boolean set
Set
' attribute.
isSet()
protected static final java.lang.Object VALUE_EDEFAULT
Value
' attribute.
getValue()
protected EList<ListChange> listChanges
List Changes
' containment reference list.
getListChanges()
protected EStructuralFeature feature
protected java.lang.String featureName
protected java.lang.Object value
protected java.lang.String valueString
protected boolean newIsSet
protected java.lang.Object newValue
protected FeatureChangeImpl()
protected FeatureChangeImpl(EStructuralFeature feature, java.lang.Object value, boolean isSet)
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public java.lang.String getFeatureName()
getFeatureName
in interface FeatureChange
FeatureChange.isSetFeatureName()
,
FeatureChange.unsetFeatureName()
,
FeatureChange.setFeatureName(String)
,
ChangePackage.getFeatureChange_FeatureName()
public void setFeatureName(java.lang.String newFeatureName)
setFeatureName
in interface FeatureChange
newFeatureName
- the new value of the 'Feature Name' attribute.FeatureChange.isSetFeatureName()
,
FeatureChange.unsetFeatureName()
,
FeatureChange.getFeatureName()
public void unsetFeatureName()
unsetFeatureName
in interface FeatureChange
FeatureChange.isSetFeatureName()
,
FeatureChange.getFeatureName()
,
FeatureChange.setFeatureName(String)
public boolean isSetFeatureName()
isSetFeatureName
in interface FeatureChange
FeatureChange.unsetFeatureName()
,
FeatureChange.getFeatureName()
,
FeatureChange.setFeatureName(String)
public java.lang.String getDataValue()
getDataValue
in interface FeatureChange
FeatureChange.setDataValue(String)
,
ChangePackage.getFeatureChange_DataValue()
public void setDataValue(java.lang.String newDataValue)
setDataValue
in interface FeatureChange
newDataValue
- the new value of the 'Data Value' attribute.FeatureChange.getDataValue()
public boolean isSet()
isSet
in interface FeatureChange
FeatureChange.setSet(boolean)
,
ChangePackage.getFeatureChange_Set()
public void setSet(boolean newSet)
setSet
in interface FeatureChange
newSet
- the new value of the 'Set' attribute.FeatureChange.isSet()
public EStructuralFeature getFeature()
getFeature
in interface FeatureChange
FeatureChange.isSetFeature()
,
FeatureChange.unsetFeature()
,
FeatureChange.setFeature(EStructuralFeature)
,
ChangePackage.getFeatureChange_Feature()
public EStructuralFeature basicGetFeature()
public void setFeature(EStructuralFeature newFeature)
setFeature
in interface FeatureChange
newFeature
- the new value of the 'Feature' reference.FeatureChange.isSetFeature()
,
FeatureChange.unsetFeature()
,
FeatureChange.getFeature()
public void unsetFeature()
unsetFeature
in interface FeatureChange
FeatureChange.isSetFeature()
,
FeatureChange.getFeature()
,
FeatureChange.setFeature(EStructuralFeature)
public boolean isSetFeature()
isSetFeature
in interface FeatureChange
FeatureChange.unsetFeature()
,
FeatureChange.getFeature()
,
FeatureChange.setFeature(EStructuralFeature)
public EObject getReferenceValue()
getReferenceValue
in interface FeatureChange
FeatureChange.setReferenceValue(EObject)
,
ChangePackage.getFeatureChange_ReferenceValue()
public EObject basicGetReferenceValue()
public void setReferenceValue(EObject newReferenceValue)
setReferenceValue
in interface FeatureChange
newReferenceValue
- the new value of the 'Reference Value' reference.FeatureChange.getReferenceValue()
public EList<ListChange> getListChanges()
getListChanges
in interface FeatureChange
ChangePackage.getFeatureChange_ListChanges()
public java.lang.Object getValue()
getValue
in interface FeatureChange
ChangePackage.getFeatureChange_Value()
protected void setValue(java.lang.Object value)
public void apply(EObject originalObject)
apply
in interface FeatureChange
public void applyAndReverse(EObject originalObject)
applyAndReverse
in interface FeatureChange
public void reverse(EObject originalObject)
reverse
in interface FeatureChange
protected void apply(EObject originalObject, boolean reverse)
protected void process(EObject originalObject, boolean reverse, boolean apply)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public void preApply(EObject originalObject, boolean reverse)
protected void apply(EList<java.lang.Object> toList)
protected void applyAndReverse(EList<java.lang.Object> toList)
protected void reverse(EList<java.lang.Object> toList)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
protected ListChange createListChange(EList<ListChange> changesList, ChangeKind kind, int index)