public class ChangeDescriptionImpl extends EObjectImpl implements ChangeDescription
The following features are implemented:
Modifier and Type | Class and Description |
---|---|
protected static class |
ChangeDescriptionImpl.OldContainmentInformation |
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 EMap<EObject,EList<FeatureChange>> |
objectChanges
The cached value of the '
Object Changes ' map |
protected EList<EObject> |
objectsToAttach
The cached value of the '
Objects To Attach ' containment reference list |
protected EList<EObject> |
objectsToDetach
The cached value of the '
Objects To Detach ' reference list |
protected java.util.Map<EObject,ChangeDescriptionImpl.OldContainmentInformation> |
oldContainmentInformation |
protected EList<ResourceChange> |
resourceChanges
The cached value of the '
Resource Changes ' containment 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 |
ChangeDescriptionImpl() |
Modifier and Type | Method and Description |
---|---|
void |
apply() |
void |
applyAndReverse() |
void |
copyAndReverse(java.util.Map<EObject,URI> eObjectToProxyURIMap) |
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) |
protected static java.util.List<EObject> |
getContainedEObjects(java.util.List<FeatureMap.Entry> featureMapEntries) |
EMap<EObject,EList<FeatureChange>> |
getObjectChanges() |
EList<EObject> |
getObjectsToAttach() |
EList<EObject> |
getObjectsToDetach()
Returns the value of the 'Objects To Detach' reference list.
|
EList<EObject> |
getObjectsToDetachGen() |
EObject |
getOldContainer(EObject eObject) |
EReference |
getOldContainmentFeature(EObject eObject) |
protected java.util.Map<EObject,ChangeDescriptionImpl.OldContainmentInformation> |
getOldContainmentInformation() |
EList<ResourceChange> |
getResourceChanges() |
protected void |
preApply(boolean reverse) |
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, toString
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 EMap<EObject,EList<FeatureChange>> objectChanges
Object Changes
' map.
getObjectChanges()
protected EList<EObject> objectsToDetach
Objects To Detach
' reference list.
The Objects to Detach list is first calculated when the getObjectsToDetach()
method is invoked and reset when new changes are described.
getObjectsToDetach()
protected EList<EObject> objectsToAttach
Objects To Attach
' containment reference list.
getObjectsToAttach()
protected EList<ResourceChange> resourceChanges
Resource Changes
' containment reference list.
getResourceChanges()
protected java.util.Map<EObject,ChangeDescriptionImpl.OldContainmentInformation> oldContainmentInformation
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public EMap<EObject,EList<FeatureChange>> getObjectChanges()
getObjectChanges
in interface ChangeDescription
ChangePackage.getChangeDescription_ObjectChanges()
protected static java.util.List<EObject> getContainedEObjects(java.util.List<FeatureMap.Entry> featureMapEntries)
public EList<EObject> getObjectsToDetach()
ChangeDescription
EObject
.
Returns the list of objects that will be detached when this Change Description is applied. The list is calculated every time this method is called.
getObjectsToDetach
in interface ChangeDescription
ChangePackage.getChangeDescription_ObjectsToDetach()
public EList<EObject> getObjectsToAttach()
getObjectsToAttach
in interface ChangeDescription
ChangePackage.getChangeDescription_ObjectsToAttach()
public EList<ResourceChange> getResourceChanges()
getResourceChanges
in interface ChangeDescription
ChangePackage.getChangeDescription_ResourceChanges()
public void apply()
apply
in interface ChangeDescription
public void applyAndReverse()
applyAndReverse
in interface ChangeDescription
public void copyAndReverse(java.util.Map<EObject,URI> eObjectToProxyURIMap)
ChangeDescription
copyAndReverse
in interface ChangeDescription
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
protected void preApply(boolean reverse)
protected java.util.Map<EObject,ChangeDescriptionImpl.OldContainmentInformation> getOldContainmentInformation()
public EReference getOldContainmentFeature(EObject eObject)
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)