|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.ecore.change.impl.ChangeDescriptionImpl
public class ChangeDescriptionImpl
An implementation of the model object 'Description'.
The following features are implemented:
Nested Class Summary | |
---|---|
protected static class |
ChangeDescriptionImpl.OldContainmentInformation
|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
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 |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
ChangeDescriptionImpl()
|
Method Summary | |
---|---|
void |
apply()
|
void |
applyAndReverse()
|
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)
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Field Detail |
---|
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
Constructor Detail |
---|
protected ChangeDescriptionImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public EMap<EObject,EList<FeatureChange>> getObjectChanges()
getObjectChanges
in interface ChangeDescription
ChangePackage.getChangeDescription_ObjectChanges()
public EList<EObject> getObjectsToDetachGen()
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 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 EObject getOldContainer(EObject eObject)
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)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |