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.EPropertiesHolderImplBasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterListInternalEObject.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, EPROXYEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETEOPPOSITE_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, eSetProxyURIeAddVirtualValue, 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, toStringeBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDelivereNotificationRequiredprotected 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 EObjectImplpublic EMap<EObject,EList<FeatureChange>> getObjectChanges()
getObjectChanges in interface ChangeDescriptionChangePackage.getChangeDescription_ObjectChanges()protected static java.util.List<EObject> getContainedEObjects(java.util.List<FeatureMap.Entry> featureMapEntries)
public EList<EObject> getObjectsToDetach()
ChangeDescriptionEObject.
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 ChangeDescriptionChangePackage.getChangeDescription_ObjectsToDetach()public EList<EObject> getObjectsToAttach()
getObjectsToAttach in interface ChangeDescriptionChangePackage.getChangeDescription_ObjectsToAttach()public EList<ResourceChange> getResourceChanges()
getResourceChanges in interface ChangeDescriptionChangePackage.getChangeDescription_ResourceChanges()public void apply()
apply in interface ChangeDescriptionpublic void applyAndReverse()
applyAndReverse in interface ChangeDescriptionpublic void copyAndReverse(java.util.Map<EObject,URI> eObjectToProxyURIMap)
ChangeDescriptioncopyAndReverse in interface ChangeDescriptionpublic NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class BasicEObjectImplprotected 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 InternalEObjecteGet in class BasicEObjectImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplEObject.eIsSet(EStructuralFeature)