|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
An implementation of the model object 'Description'.
The following features are implemented:
Nested Class Summary | |
protected static class |
ChangeDescriptionImpl.OldContainmentInformation
|
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
BasicNotifierImpl.EAdapterList |
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
InternalEObject.EStore |
Field Summary | |
protected EMap |
objectChanges
The cached value of the ' Object Changes ' map |
protected EList |
objectsToAttach
The cached value of the ' Objects To Attach ' containment reference list |
protected EList |
objectsToDetach
The cached value of the ' Objects To Detach ' reference list |
protected Map |
oldContainmentInformation
|
protected EList |
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()
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
protected static List |
getContainedEObjects(List featureMapEntries)
|
EMap |
getObjectChanges()
|
EList |
getObjectsToAttach()
|
EList |
getObjectsToDetach()
Returns the value of the 'Objects To Detach' reference list. |
EList |
getObjectsToDetachGen()
|
EObject |
getOldContainer(EObject eObject)
|
EReference |
getOldContainmentFeature(EObject eObject)
|
protected Map |
getOldContainmentInformation()
|
EList |
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 objectChanges
Object Changes
' map.
getObjectChanges()
protected EList 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 objectsToAttach
Objects To Attach
' containment reference list.
getObjectsToAttach()
protected EList resourceChanges
Resource Changes
' containment reference list.
getResourceChanges()
protected Map oldContainmentInformation
Constructor Detail |
protected ChangeDescriptionImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public EMap getObjectChanges()
getObjectChanges
in interface ChangeDescription
ChangePackage.getChangeDescription_ObjectChanges()
public EList getObjectsToDetachGen()
protected static List getContainedEObjects(List featureMapEntries)
public EList 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 getObjectsToAttach()
getObjectsToAttach
in interface ChangeDescription
ChangePackage.getChangeDescription_ObjectsToAttach()
public EList 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 Map getOldContainmentInformation()
public EObject getOldContainer(EObject eObject)
public EReference getOldContainmentFeature(EObject eObject)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
|
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 |