org.eclipse.emf.compare.diff.metamodel.impl
Class DiffModelImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.compare.diff.metamodel.impl.DiffModelImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, DiffModel, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class DiffModelImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements DiffModel

An implementation of the model object 'Model'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> ancestorRoots
          The cached value of the 'Ancestor Roots' reference list
protected  org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> leftRoots
          The cached value of the 'Left Roots' reference list
protected  org.eclipse.emf.common.util.EList<DiffElement> ownedElements
          The cached value of the 'Owned Elements' containment reference list
protected  org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> rightRoots
          The cached value of the 'Right Roots' 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 DiffModelImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getAncestorRoots()
           
 org.eclipse.emf.common.util.EList<DiffElement> getDifferences()
           
 org.eclipse.emf.common.util.EList<DiffElement> getDifferences(org.eclipse.emf.ecore.EObject modelElement)
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getLeftRoots()
           
 org.eclipse.emf.common.util.EList<DiffElement> getOwnedElements()
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getRightRoots()
           
 int getSubchanges()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, 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, eInvoke, 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

ownedElements

protected org.eclipse.emf.common.util.EList<DiffElement> ownedElements
The cached value of the 'Owned Elements' containment reference list.

See Also:
getOwnedElements()

leftRoots

protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> leftRoots
The cached value of the 'Left Roots' reference list.

See Also:
getLeftRoots()

rightRoots

protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> rightRoots
The cached value of the 'Right Roots' reference list.

See Also:
getRightRoots()

ancestorRoots

protected org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> ancestorRoots
The cached value of the 'Ancestor Roots' reference list.

See Also:
getAncestorRoots()
Constructor Detail

DiffModelImpl

protected DiffModelImpl()

Method Detail

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

getOwnedElements

public org.eclipse.emf.common.util.EList<DiffElement> getOwnedElements()

Specified by:
getOwnedElements in interface DiffModel
Returns:
the value of the 'Owned Elements' containment reference list.
See Also:
DiffPackage.getDiffModel_OwnedElements()

getLeftRoots

public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getLeftRoots()

Specified by:
getLeftRoots in interface DiffModel
Returns:
the value of the 'Left Roots' reference list.
See Also:
DiffPackage.getDiffModel_LeftRoots()

getRightRoots

public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getRightRoots()

Specified by:
getRightRoots in interface DiffModel
Returns:
the value of the 'Right Roots' reference list.
See Also:
DiffPackage.getDiffModel_RightRoots()

getAncestorRoots

public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> getAncestorRoots()

Specified by:
getAncestorRoots in interface DiffModel
Returns:
the value of the 'Ancestor Roots' reference list.
See Also:
DiffPackage.getDiffModel_AncestorRoots()

getSubchanges

public int getSubchanges()

Specified by:
getSubchanges in interface DiffModel

getDifferences

public org.eclipse.emf.common.util.EList<DiffElement> getDifferences(org.eclipse.emf.ecore.EObject modelElement)

Specified by:
getDifferences in interface DiffModel

getDifferences

public org.eclipse.emf.common.util.EList<DiffElement> getDifferences()

Specified by:
getDifferences in interface DiffModel

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl

Copyright 2006 IBM Corporation and others.
All Rights Reserved.