public class ListChangeImpl extends EObjectImpl implements ListChange
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 EList<java.lang.Object> |
dataValueDelegatingList
The data value delegating list is used to ensure that the elements
are properly converted to and from strings when added and removed
from the dataValues list.
|
protected EList<java.lang.String> |
dataValues
The cached value of the '
Data Values ' attribute list |
protected EStructuralFeature |
feature
The cached value of the '
Feature ' reference |
protected EList<FeatureMapEntry> |
featureMapEntryValues
The cached value of the '
Feature Map Entry Values ' containment reference list |
protected int |
index
The cached value of the '
Index ' attribute |
protected static int |
INDEX_EDEFAULT
The default value of the '
Index ' attribute |
protected ChangeKind |
kind
The cached value of the '
Kind ' attribute |
protected static ChangeKind |
KIND_EDEFAULT
The default value of the '
Kind ' attribute |
protected static int |
MOVE_TO_INDEX_EDEFAULT
The default value of the '
Move To Index ' attribute |
protected int |
moveToIndex
The cached value of the '
Move To Index ' attribute |
protected EList<EObject> |
referenceValues
The cached value of the '
Reference Values ' reference list |
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 |
ListChangeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
apply(EList<java.lang.Object> originalList) |
void |
applyAndReverse(EList<java.lang.Object> originalList) |
EStructuralFeature |
basicGetFeature() |
protected EList<java.lang.Object> |
createDataValueDelegatingList()
Creates the data value delegating list
|
protected FeatureMapEntry |
createFeatureMapEntry(EStructuralFeature feature,
java.lang.Object value) |
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) |
EList<java.lang.String> |
getDataValues() |
EStructuralFeature |
getFeature()
Returns the value of the 'Feature' reference
|
EStructuralFeature |
getFeatureGen() |
EList<FeatureMapEntry> |
getFeatureMapEntryValues() |
int |
getIndex() |
ChangeKind |
getKind() |
int |
getMoveToIndex() |
EList<EObject> |
getReferenceValues() |
EList<java.lang.Object> |
getValues() |
protected void |
process(EList<java.lang.Object> originalList,
boolean reverse,
boolean apply) |
void |
reverse(EList<java.lang.Object> originalList) |
void |
setFeature(EStructuralFeature newFeature) |
void |
setIndex(int newIndex) |
void |
setKind(ChangeKind newKind) |
void |
setMoveToIndex(int newMoveToIndex) |
void |
setValues(EList<?> values) |
java.lang.String |
toString() |
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 ChangeKind KIND_EDEFAULT
Kind
' attribute.
getKind()
protected ChangeKind kind
Kind
' attribute.
getKind()
protected EList<java.lang.String> dataValues
Data Values
' attribute list.
getDataValues()
protected static final int INDEX_EDEFAULT
Index
' attribute.
getIndex()
,
Constant Field Valuesprotected int index
Index
' attribute.
getIndex()
protected static final int MOVE_TO_INDEX_EDEFAULT
Move To Index
' attribute.
getMoveToIndex()
,
Constant Field Valuesprotected int moveToIndex
Move To Index
' attribute.
getMoveToIndex()
protected EList<EObject> referenceValues
Reference Values
' reference list.
getReferenceValues()
protected EStructuralFeature feature
Feature
' reference.
getFeature()
protected EList<FeatureMapEntry> featureMapEntryValues
Feature Map Entry Values
' containment reference list.
getFeatureMapEntryValues()
protected EList<java.lang.Object> dataValueDelegatingList
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public ChangeKind getKind()
getKind
in interface ListChange
ChangeKind
,
ListChange.setKind(ChangeKind)
,
ChangePackage.getListChange_Kind()
public void setKind(ChangeKind newKind)
setKind
in interface ListChange
newKind
- the new value of the 'Kind' attribute.ChangeKind
,
ListChange.getKind()
public EList<java.lang.String> getDataValues()
getDataValues
in interface ListChange
ChangePackage.getListChange_DataValues()
protected EList<java.lang.Object> createDataValueDelegatingList()
protected FeatureMapEntry createFeatureMapEntry(EStructuralFeature feature, java.lang.Object value)
public int getIndex()
getIndex
in interface ListChange
ListChange.setIndex(int)
,
ChangePackage.getListChange_Index()
public void setIndex(int newIndex)
setIndex
in interface ListChange
newIndex
- the new value of the 'Index' attribute.ListChange.getIndex()
public int getMoveToIndex()
getMoveToIndex
in interface ListChange
ListChange.setMoveToIndex(int)
,
ChangePackage.getListChange_MoveToIndex()
public void setMoveToIndex(int newMoveToIndex)
setMoveToIndex
in interface ListChange
newMoveToIndex
- the new value of the 'Move To Index' attribute.ListChange.getMoveToIndex()
public EList<EObject> getReferenceValues()
getReferenceValues
in interface ListChange
ChangePackage.getListChange_ReferenceValues()
public EStructuralFeature getFeatureGen()
public EStructuralFeature getFeature()
ListChange
getFeature
in interface ListChange
ListChange.setFeature(EStructuralFeature)
,
ChangePackage.getListChange_Feature()
public EStructuralFeature basicGetFeature()
public void setFeature(EStructuralFeature newFeature)
setFeature
in interface ListChange
newFeature
- the new value of the 'Feature' reference.ListChange.getFeature()
public EList<FeatureMapEntry> getFeatureMapEntryValues()
getFeatureMapEntryValues
in interface ListChange
ChangePackage.getListChange_FeatureMapEntryValues()
public EList<java.lang.Object> getValues()
getValues
in interface ListChange
ChangePackage.getListChange_Values()
public void setValues(EList<?> values)
public void apply(EList<java.lang.Object> originalList)
apply
in interface ListChange
public void applyAndReverse(EList<java.lang.Object> originalList)
applyAndReverse
in interface ListChange
public void reverse(EList<java.lang.Object> originalList)
reverse
in interface ListChange
protected void process(EList<java.lang.Object> originalList, boolean reverse, boolean apply)
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
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