Class ModelImpl

java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.gmt.modisco.java.emf.impl.ModelImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, Model

public class ModelImpl
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl
implements Model
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.MinimalEObjectImpl

    org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container

    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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

    org.eclipse.emf.ecore.InternalEObject.EStore
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected org.eclipse.emf.common.util.EList<Archive> archives
    The cached value of the 'Archives' containment reference list.
    protected org.eclipse.emf.common.util.EList<ClassFile> classFiles
    The cached value of the 'Class Files' containment reference list.
    protected org.eclipse.emf.common.util.EList<CompilationUnit> compilationUnits
    The cached value of the 'Compilation Units' containment reference list.
    protected String name
    The cached value of the 'Name' attribute.
    protected static String NAME_EDEFAULT
    The default value of the 'Name' attribute.
    protected org.eclipse.emf.common.util.EList<Type> orphanTypes
    The cached value of the 'Orphan Types' containment reference list.
    protected org.eclipse.emf.common.util.EList<Package> ownedElements
    The cached value of the 'Owned Elements' containment reference list.
    protected org.eclipse.emf.common.util.EList<UnresolvedItem> unresolvedItems
    The cached value of the 'Unresolved Items' containment reference list.

    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.EStructuralFeature.Internal.DynamicValueHolder

    NIL

    Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

    EOPPOSITE_FEATURE_BASE
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected ModelImpl()
  • Method Summary

    Modifier and Type Method Description
    Object eGet​(int featureID, boolean resolve, boolean coreType)
    org.eclipse.emf.common.notify.NotificationChain eInverseAdd​(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
    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, Object newValue)
    protected org.eclipse.emf.ecore.EClass eStaticClass()
    void eUnset​(int featureID)
    org.eclipse.emf.common.util.EList<Archive> getArchives()
    org.eclipse.emf.common.util.EList<ClassFile> getClassFiles()
    org.eclipse.emf.common.util.EList<CompilationUnit> getCompilationUnits()
    String getName()
    org.eclipse.emf.common.util.EList<Type> getOrphanTypes()
    org.eclipse.emf.common.util.EList<Package> getOwnedElements()
    org.eclipse.emf.common.util.EList<UnresolvedItem> getUnresolvedItems()
    void setName​(String newName)
    String toString()

    Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl

    dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eInternalContainer, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings

    Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues

    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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

    eNotificationRequired

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Field Details

  • Constructor Details

    • ModelImpl

      protected ModelImpl()
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • getName

      public String getName()
      Specified by:
      getName in interface Model
      Returns:
      the value of the 'Name' attribute.
      See Also:
      Model.setName(String), JavaPackage.getModel_Name()
    • setName

      public void setName​(String newName)
      Specified by:
      setName in interface Model
      Parameters:
      newName - the new value of the 'Name' attribute.
      See Also:
      Model.getName()
    • getOwnedElements

      public org.eclipse.emf.common.util.EList<Package> getOwnedElements()
      Specified by:
      getOwnedElements in interface Model
      Returns:
      the value of the 'Owned Elements' containment reference list.
      See Also:
      JavaPackage.getModel_OwnedElements(), Package.getModel()
    • getOrphanTypes

      public org.eclipse.emf.common.util.EList<Type> getOrphanTypes()
      Specified by:
      getOrphanTypes in interface Model
      Returns:
      the value of the 'Orphan Types' containment reference list.
      See Also:
      JavaPackage.getModel_OrphanTypes()
    • getUnresolvedItems

      public org.eclipse.emf.common.util.EList<UnresolvedItem> getUnresolvedItems()
      Specified by:
      getUnresolvedItems in interface Model
      Returns:
      the value of the 'Unresolved Items' containment reference list.
      See Also:
      JavaPackage.getModel_UnresolvedItems()
    • getCompilationUnits

      public org.eclipse.emf.common.util.EList<CompilationUnit> getCompilationUnits()
      Specified by:
      getCompilationUnits in interface Model
      Returns:
      the value of the 'Compilation Units' containment reference list.
      See Also:
      JavaPackage.getModel_CompilationUnits()
    • getClassFiles

      public org.eclipse.emf.common.util.EList<ClassFile> getClassFiles()
      Specified by:
      getClassFiles in interface Model
      Returns:
      the value of the 'Class Files' containment reference list.
      See Also:
      JavaPackage.getModel_ClassFiles()
    • getArchives

      public org.eclipse.emf.common.util.EList<Archive> getArchives()
      Specified by:
      getArchives in interface Model
      Returns:
      the value of the 'Archives' containment reference list.
      See Also:
      JavaPackage.getModel_Archives()
    • eInverseAdd

      public org.eclipse.emf.common.notify.NotificationChain eInverseAdd​(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseAdd 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
    • eGet

      public 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
    • eSet

      public void eSet​(int featureID, 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
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl