Class MetamodelImpl

  • All Implemented Interfaces:
    org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Metamodel

    public class MetamodelImpl
    extends org.eclipse.emf.ecore.impl.EObjectImpl
    implements Metamodel
    An implementation of the model object 'Metamodel'.

    The following features are implemented:

    • Nested Class Summary

      • 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
      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

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

      • Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

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

        EOPPOSITE_FEATURE_BASE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.emf.ecore.EPackage basicGetDefaultPackage()
      org.eclipse.emf.common.notify.NotificationChain basicSetRepository​(Repository newRepository, org.eclipse.emf.common.notify.NotificationChain msgs)
      void delete​(org.eclipse.emf.ecore.EModelElement metamodelElement)
      org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature​(org.eclipse.emf.common.notify.NotificationChain msgs)
      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)
      void eUnset​(int featureID)
      org.eclipse.emf.ecore.EPackage getDefaultPackage()
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getEAllSubTypes​(org.eclipse.emf.ecore.EClass eClass)
      org.eclipse.emf.ecore.EAttribute getEAttribute​(String name)
      org.eclipse.emf.ecore.EClass getEClass​(String name)
      org.eclipse.emf.ecore.EClassifier getEClassifier​(String name)
      org.eclipse.emf.ecore.EDataType getEDataType​(String name)
      org.eclipse.emf.ecore.EEnum getEEnum​(String name)
      org.eclipse.emf.ecore.EEnumLiteral getEEnumLiteral​(String name)
      org.eclipse.emf.ecore.EStructuralFeature getEFeature​(String name)
      org.eclipse.emf.ecore.EModelElement getElement​(String name)
      org.eclipse.emf.ecore.EPackage getEPackage​(String name)
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getEPackages()
      org.eclipse.emf.ecore.EReference getEReference​(String name)
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getESubTypes​(org.eclipse.emf.ecore.EClass eClass)
      <V> org.eclipse.emf.common.util.EList<V> getInverse​(org.eclipse.emf.ecore.EModelElement metamodelElement, org.eclipse.emf.ecore.EReference reference)
      Repository getRepository()
      org.eclipse.emf.common.util.EList<MetamodelResource> getResources()
      void refreshCaches()
      Clear the internal caches within the metamodel elements.
      void setDefaultPackage​(String packageName)
      void setDefaultPackage​(org.eclipse.emf.ecore.EPackage newDefaultPackage)
      void setEOpposite​(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EReference opposite)
      void setRepository​(Repository newRepository)
      void validate()
      • Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

        eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
      • Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

        eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
      • Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

        eNotificationRequired, eNotify
      • Methods inherited from interface org.eclipse.emf.ecore.EObject

        eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsSet, eResource, eSet, eUnset
      • Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

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

        eNotify
    • Method Detail

      • basicSetRepository

        public org.eclipse.emf.common.notify.NotificationChain basicSetRepository​(Repository newRepository,
                                                                                  org.eclipse.emf.common.notify.NotificationChain msgs)
      • basicGetDefaultPackage

        public org.eclipse.emf.ecore.EPackage basicGetDefaultPackage()
      • setDefaultPackage

        public void setDefaultPackage​(org.eclipse.emf.ecore.EPackage newDefaultPackage)
        Specified by:
        setDefaultPackage in interface Metamodel
        Parameters:
        newDefaultPackage - the new value of the 'Default Package' reference.
        See Also:
        Metamodel.getDefaultPackage()
      • getEPackages

        public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getEPackages()
        Specified by:
        getEPackages in interface Metamodel
      • getEEnum

        public org.eclipse.emf.ecore.EEnum getEEnum​(String name)
        Specified by:
        getEEnum in interface Metamodel
      • delete

        public void delete​(org.eclipse.emf.ecore.EModelElement metamodelElement)
        Specified by:
        delete in interface Metamodel
      • getInverse

        public <V> org.eclipse.emf.common.util.EList<V> getInverse​(org.eclipse.emf.ecore.EModelElement metamodelElement,
                                                                   org.eclipse.emf.ecore.EReference reference)
        Specified by:
        getInverse in interface Metamodel
      • getESubTypes

        public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getESubTypes​(org.eclipse.emf.ecore.EClass eClass)
        Specified by:
        getESubTypes in interface Metamodel
      • getEAllSubTypes

        public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getEAllSubTypes​(org.eclipse.emf.ecore.EClass eClass)
        Specified by:
        getEAllSubTypes in interface Metamodel
      • setEOpposite

        public void setEOpposite​(org.eclipse.emf.ecore.EReference reference,
                                 org.eclipse.emf.ecore.EReference opposite)
        Specified by:
        setEOpposite in interface Metamodel
      • 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
      • eBasicRemoveFromContainerFeature

        public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature​(org.eclipse.emf.common.notify.NotificationChain msgs)
        Overrides:
        eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      • getEPackage

        public org.eclipse.emf.ecore.EPackage getEPackage​(String name)
        Specified by:
        getEPackage in interface Metamodel
      • getEClassifier

        public org.eclipse.emf.ecore.EClassifier getEClassifier​(String name)
        Specified by:
        getEClassifier in interface Metamodel
      • getEFeature

        public org.eclipse.emf.ecore.EStructuralFeature getEFeature​(String name)
        Specified by:
        getEFeature in interface Metamodel
      • getEClass

        public org.eclipse.emf.ecore.EClass getEClass​(String name)
        Specified by:
        getEClass in interface Metamodel
      • getEReference

        public org.eclipse.emf.ecore.EReference getEReference​(String name)
        Specified by:
        getEReference in interface Metamodel
      • getEAttribute

        public org.eclipse.emf.ecore.EAttribute getEAttribute​(String name)
        Specified by:
        getEAttribute in interface Metamodel
      • getEDataType

        public org.eclipse.emf.ecore.EDataType getEDataType​(String name)
        Specified by:
        getEDataType in interface Metamodel
      • getElement

        public org.eclipse.emf.ecore.EModelElement getElement​(String name)
        Specified by:
        getElement in interface Metamodel
      • 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
      • refreshCaches

        public void refreshCaches()
        Clear the internal caches within the metamodel elements.
        Specified by:
        refreshCaches in interface Metamodel