org.eclipse.gmt.umlx.ecore2.impl
Class Ecore2PackageImpl

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.ecore.impl.EModelElementImpl
                  extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                      extended by org.eclipse.emf.ecore.impl.EPackageImpl
                          extended by org.eclipse.gmt.umlx.ecore2.impl.Ecore2PackageImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EPackage, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder, Ecore2Package

public class Ecore2PackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements Ecore2Package

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.gmt.umlx.ecore2.Ecore2Package
Ecore2Package.Literals
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.Registry
 
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.gmt.umlx.ecore2.Ecore2Package
E2_ASSOCIATION, E2_ASSOCIATION__DIRECTION, E2_ASSOCIATION__EANNOTATIONS, E2_ASSOCIATION__FORWARD, E2_ASSOCIATION__REVERSE, E2_ASSOCIATION__SOURCE, E2_ASSOCIATION__TARGET, E2_ASSOCIATION_FEATURE_COUNT, E2_ATTRIBUTION, E2_ATTRIBUTION__EANNOTATIONS, E2_ATTRIBUTION__SOURCE, E2_ATTRIBUTION__TARGET, E2_ATTRIBUTION_FEATURE_COUNT, E2_DIRECTED_ASSOCIATION, E2_DIRECTED_ASSOCIATION__EANNOTATIONS, E2_DIRECTED_ASSOCIATION__REVERSED, E2_DIRECTED_ASSOCIATION_FEATURE_COUNT, E2_DIRECTION, E2_INHERITANCE, E2_INHERITANCE__EANNOTATIONS, E2_INHERITANCE__SOURCE, E2_INHERITANCE__TARGET, E2_INHERITANCE_FEATURE_COUNT, E2_LINK, E2_LINK__EANNOTATIONS, E2_LINK_FEATURE_COUNT, E2_TRANSIENT_LINK, E2_TRANSIENT_LINK__EANNOTATIONS, E2_TRANSIENT_LINK_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 org.eclipse.emf.ecore.EAttribute getE2Association_Direction()
           
 org.eclipse.emf.ecore.EReference getE2Association_Forward()
           
 org.eclipse.emf.ecore.EReference getE2Association_Reverse()
           
 org.eclipse.emf.ecore.EReference getE2Association_Source()
           
 org.eclipse.emf.ecore.EReference getE2Association_Target()
           
 org.eclipse.emf.ecore.EClass getE2Association()
           
 org.eclipse.emf.ecore.EReference getE2Attribution_Source()
           
 org.eclipse.emf.ecore.EReference getE2Attribution_Target()
           
 org.eclipse.emf.ecore.EClass getE2Attribution()
           
 org.eclipse.emf.ecore.EAttribute getE2DirectedAssociation_Reversed()
           
 org.eclipse.emf.ecore.EClass getE2DirectedAssociation()
           
 org.eclipse.emf.ecore.EEnum getE2Direction()
           
 org.eclipse.emf.ecore.EReference getE2Inheritance_Source()
           
 org.eclipse.emf.ecore.EReference getE2Inheritance_Target()
           
 org.eclipse.emf.ecore.EClass getE2Inheritance()
           
 org.eclipse.emf.ecore.EClass getE2Link()
           
 org.eclipse.emf.ecore.EClass getE2TransientLink()
           
 Ecore2Factory getEcore2Factory()
           
static Ecore2Package init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
basicGetESuperPackage, basicSetEFactoryInstance, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eSet, eUnset, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, setEFactoryInstance, setExtendedMetaData, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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
 

Method Detail

init

public static Ecore2Package init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends. Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This method drives initialization for interdependent packages directly, in parallel with this package, itself.

Of this package and its interdependencies, all packages which have not yet been registered by their URI values are first created and registered. The packages are then initialized in two steps: meta-model objects for all of the packages are created before any are initialized, since one package's meta-model objects may refer to those of another.

Invocation of this method will not affect any packages that have already been initialized.

See Also:
Ecore2Package.eNS_URI, createPackageContents(), initializePackageContents()

getE2Association

public org.eclipse.emf.ecore.EClass getE2Association()

Specified by:
getE2Association in interface Ecore2Package
Returns:
the meta object for class 'E2 Association'.
See Also:
E2Association

getE2Association_Direction

public org.eclipse.emf.ecore.EAttribute getE2Association_Direction()

Specified by:
getE2Association_Direction in interface Ecore2Package
Returns:
the meta object for the attribute 'Direction'.
See Also:
E2Association.getDirection(), Ecore2Package.getE2Association()

getE2Association_Forward

public org.eclipse.emf.ecore.EReference getE2Association_Forward()

Specified by:
getE2Association_Forward in interface Ecore2Package
Returns:
the meta object for the containment reference 'Forward'.
See Also:
E2Association.getForward(), Ecore2Package.getE2Association()

getE2Association_Reverse

public org.eclipse.emf.ecore.EReference getE2Association_Reverse()

Specified by:
getE2Association_Reverse in interface Ecore2Package
Returns:
the meta object for the containment reference 'Reverse'.
See Also:
E2Association.getReverse(), Ecore2Package.getE2Association()

getE2Association_Source

public org.eclipse.emf.ecore.EReference getE2Association_Source()

Specified by:
getE2Association_Source in interface Ecore2Package
Returns:
the meta object for the reference 'Source'.
See Also:
E2Association.getSource(), Ecore2Package.getE2Association()

getE2Association_Target

public org.eclipse.emf.ecore.EReference getE2Association_Target()

Specified by:
getE2Association_Target in interface Ecore2Package
Returns:
the meta object for the reference 'Target'.
See Also:
E2Association.getTarget(), Ecore2Package.getE2Association()

getE2Inheritance

public org.eclipse.emf.ecore.EClass getE2Inheritance()

Specified by:
getE2Inheritance in interface Ecore2Package
Returns:
the meta object for class 'E2 Inheritance'.
See Also:
E2Inheritance

getE2Inheritance_Target

public org.eclipse.emf.ecore.EReference getE2Inheritance_Target()

Specified by:
getE2Inheritance_Target in interface Ecore2Package
Returns:
the meta object for the reference 'Target'.
See Also:
E2Inheritance.getTarget(), Ecore2Package.getE2Inheritance()

getE2Inheritance_Source

public org.eclipse.emf.ecore.EReference getE2Inheritance_Source()

Specified by:
getE2Inheritance_Source in interface Ecore2Package
Returns:
the meta object for the reference 'Source'.
See Also:
E2Inheritance.getSource(), Ecore2Package.getE2Inheritance()

getE2Link

public org.eclipse.emf.ecore.EClass getE2Link()

Specified by:
getE2Link in interface Ecore2Package
Returns:
the meta object for class 'E2 Link'.
See Also:
E2Link

getE2TransientLink

public org.eclipse.emf.ecore.EClass getE2TransientLink()

Specified by:
getE2TransientLink in interface Ecore2Package
Returns:
the meta object for class 'E2 Transient Link'.
See Also:
E2TransientLink

getE2DirectedAssociation

public org.eclipse.emf.ecore.EClass getE2DirectedAssociation()

Specified by:
getE2DirectedAssociation in interface Ecore2Package
Returns:
the meta object for class 'E2 Directed Association'.
See Also:
E2DirectedAssociation

getE2DirectedAssociation_Reversed

public org.eclipse.emf.ecore.EAttribute getE2DirectedAssociation_Reversed()

Specified by:
getE2DirectedAssociation_Reversed in interface Ecore2Package
Returns:
the meta object for the attribute 'Reversed'.
See Also:
E2DirectedAssociation.isReversed(), Ecore2Package.getE2DirectedAssociation()

getE2Attribution

public org.eclipse.emf.ecore.EClass getE2Attribution()

Specified by:
getE2Attribution in interface Ecore2Package
Returns:
the meta object for class 'E2 Attribution'.
See Also:
E2Attribution

getE2Attribution_Source

public org.eclipse.emf.ecore.EReference getE2Attribution_Source()

Specified by:
getE2Attribution_Source in interface Ecore2Package
Returns:
the meta object for the reference 'Source'.
See Also:
E2Attribution.getSource(), Ecore2Package.getE2Attribution()

getE2Attribution_Target

public org.eclipse.emf.ecore.EReference getE2Attribution_Target()

Specified by:
getE2Attribution_Target in interface Ecore2Package
Returns:
the meta object for the reference 'Target'.
See Also:
E2Attribution.getTarget(), Ecore2Package.getE2Attribution()

getE2Direction

public org.eclipse.emf.ecore.EEnum getE2Direction()

Specified by:
getE2Direction in interface Ecore2Package
Returns:
the meta object for enum 'E2 Direction'.
See Also:
E2Direction

getEcore2Factory

public Ecore2Factory getEcore2Factory()

Specified by:
getEcore2Factory in interface Ecore2Package
Returns:
the factory that creates the instances of the model.

createPackageContents

public void createPackageContents()
Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first.


initializePackageContents

public void initializePackageContents()
Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.