Interface Metamodel

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(org.eclipse.emf.ecore.EModelElement metamodelElement)
      Delete an instance from the model, including all the contained instances
      org.eclipse.emf.ecore.EPackage getDefaultPackage()
      Returns the value of the 'Default Package' reference.
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getEAllSubTypes​(org.eclipse.emf.ecore.EClass eClass)
      Get the inverse value of the reference
      org.eclipse.emf.ecore.EAttribute getEAttribute​(String name)
      Resolve an attribute of the metamodel by its fully qualified name
      org.eclipse.emf.ecore.EClass getEClass​(String name)
      Resolve a class of the metamodel by its fully qualified name
      org.eclipse.emf.ecore.EClassifier getEClassifier​(String name)
      Resolve a classifier of the metamodel by its fully qualified name
      org.eclipse.emf.ecore.EDataType getEDataType​(String name)
      Resolve a data type of the metamodel by its fully qualified name
      org.eclipse.emf.ecore.EEnum getEEnum​(String name)
      Resolve a data type of the metamodel by its fully qualified name
      org.eclipse.emf.ecore.EEnumLiteral getEEnumLiteral​(String name)
      Resolve a data type of the metamodel by its fully qualified name
      org.eclipse.emf.ecore.EStructuralFeature getEFeature​(String name)
      Resolve a feature of the metamodel by its fully qualified name
      org.eclipse.emf.ecore.EModelElement getElement​(String name)
      Resolve a metamodel element by its fully qualified name
      org.eclipse.emf.ecore.EPackage getEPackage​(String name)
      Resolve a package of the metamodel by its fully qualified name
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getEPackages()
      org.eclipse.emf.ecore.EReference getEReference​(String name)
      Resolve a reference of the metamodel by its fully qualified name
      org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getESubTypes​(org.eclipse.emf.ecore.EClass eClass)
      Get the inverse value of the reference
      <V> org.eclipse.emf.common.util.EList<V> getInverse​(org.eclipse.emf.ecore.EModelElement metamodelElement, org.eclipse.emf.ecore.EReference reference)
      Get the inverse value of the reference
      Repository getRepository()
      Returns the value of the 'Repository' container reference.
      org.eclipse.emf.common.util.EList<MetamodelResource> getResources()
      Returns the value of the 'Resources' containment reference list.
      void refreshCaches()
      Clear the internal caches within the metamodel elements.
      void setDefaultPackage​(String packageName)
      Resolve an attribute of the metamodel by its fully qualified name
      void setDefaultPackage​(org.eclipse.emf.ecore.EPackage value)
      Sets the value of the 'Default Package' reference.
      void setEOpposite​(org.eclipse.emf.ecore.EReference reference, org.eclipse.emf.ecore.EReference opposite)
      Set the opposite of a reference, adapting opposite values in the model
      void setRepository​(Repository value)
      Sets the value of the 'Repository' container reference.
      void validate()
      Validate the metamodel
    • Method Detail

      • setRepository

        void setRepository​(Repository value)
        Sets the value of the 'Repository' container reference.
        Parameters:
        value - the new value of the 'Repository' container reference.
        See Also:
        getRepository()
      • setDefaultPackage

        void setDefaultPackage​(org.eclipse.emf.ecore.EPackage value)
        Sets the value of the 'Default Package' reference.
        Parameters:
        value - the new value of the 'Default Package' reference.
        See Also:
        getDefaultPackage()
      • getEPackages

        org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EPackage> getEPackages()

        If the meaning of the 'EPackages' reference list isn't clear, there really should be more of a description here...

        The root packages of all resources of which the metamodel consists
      • setDefaultPackage

        void setDefaultPackage​(String packageName)
        Resolve an attribute of the metamodel by its fully qualified name
      • getEEnum

        org.eclipse.emf.ecore.EEnum getEEnum​(String name)
        Resolve a data type of the metamodel by its fully qualified name
      • getEEnumLiteral

        org.eclipse.emf.ecore.EEnumLiteral getEEnumLiteral​(String name)
        Resolve a data type of the metamodel by its fully qualified name
      • delete

        void delete​(org.eclipse.emf.ecore.EModelElement metamodelElement)
        Delete an instance from the model, including all the contained instances
      • getInverse

        <V> org.eclipse.emf.common.util.EList<V> getInverse​(org.eclipse.emf.ecore.EModelElement metamodelElement,
                                                            org.eclipse.emf.ecore.EReference reference)
        Get the inverse value of the reference
      • getESubTypes

        org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getESubTypes​(org.eclipse.emf.ecore.EClass eClass)
        Get the inverse value of the reference
      • getEAllSubTypes

        org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EClass> getEAllSubTypes​(org.eclipse.emf.ecore.EClass eClass)
        Get the inverse value of the reference
      • setEOpposite

        void setEOpposite​(org.eclipse.emf.ecore.EReference reference,
                          org.eclipse.emf.ecore.EReference opposite)
        Set the opposite of a reference, adapting opposite values in the model
      • getEPackage

        org.eclipse.emf.ecore.EPackage getEPackage​(String name)
        Resolve a package of the metamodel by its fully qualified name
      • getEClassifier

        org.eclipse.emf.ecore.EClassifier getEClassifier​(String name)
        Resolve a classifier of the metamodel by its fully qualified name
      • getEFeature

        org.eclipse.emf.ecore.EStructuralFeature getEFeature​(String name)
        Resolve a feature of the metamodel by its fully qualified name
      • getEClass

        org.eclipse.emf.ecore.EClass getEClass​(String name)
        Resolve a class of the metamodel by its fully qualified name
      • getEReference

        org.eclipse.emf.ecore.EReference getEReference​(String name)
        Resolve a reference of the metamodel by its fully qualified name
      • getEAttribute

        org.eclipse.emf.ecore.EAttribute getEAttribute​(String name)
        Resolve an attribute of the metamodel by its fully qualified name
      • getEDataType

        org.eclipse.emf.ecore.EDataType getEDataType​(String name)
        Resolve a data type of the metamodel by its fully qualified name
      • getElement

        org.eclipse.emf.ecore.EModelElement getElement​(String name)
        Resolve a metamodel element by its fully qualified name
      • refreshCaches

        void refreshCaches()
        Clear the internal caches within the metamodel elements.