com.ibm.wala.ecore.common.impl
Class CommonPackageImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  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 com.ibm.wala.ecore.common.impl.CommonPackageImpl
All Implemented Interfaces:
CommonPackage, 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.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder

public class CommonPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements CommonPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
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 java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface com.ibm.wala.ecore.common.CommonPackage
CommonPackage.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.EPackageImpl
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, ePackageExtendedMetaData, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_DERIVED, IS_GENERATED_INSTANCE_CLASS, IS_ID, IS_INTERFACE, IS_ORDERED, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURI
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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 com.ibm.wala.ecore.common.CommonPackage
ECOLLECTION, ECOLLECTION__CONTENTS, ECOLLECTION_FEATURE_COUNT, ECONTAINER, ECONTAINER__CONTAINEES, ECONTAINER__CONTENTS, ECONTAINER_FEATURE_COUNT, EFILE, eINSTANCE, EITERATOR, EJAVA_COLLECTION, eNAME, ENOT_CONTAINER, ENOT_CONTAINER__CONTENTS, ENOT_CONTAINER__ELEMENTS, ENOT_CONTAINER_FEATURE_COUNT, eNS_PREFIX, eNS_URI, EOBJECT_WITH_CONTAINER_ID, EOBJECT_WITH_CONTAINER_ID__ID, EOBJECT_WITH_CONTAINER_ID_FEATURE_COUNT, EPAIR, EPAIR__X, EPAIR__Y, EPAIR_FEATURE_COUNT, ERELATION, ERELATION__CONTAINEES, ERELATION__CONTENTS, ERELATION__NAME, ERELATION_FEATURE_COUNT, ESTRING_HOLDER, ESTRING_HOLDER__VALUE, ESTRING_HOLDER_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 CommonFactory getCommonFactory()
           
 org.eclipse.emf.ecore.EReference getECollection_Contents()
           
 org.eclipse.emf.ecore.EClass getECollection()
           
 org.eclipse.emf.ecore.EReference getEContainer_Containees()
           
 org.eclipse.emf.ecore.EClass getEContainer()
           
 org.eclipse.emf.ecore.EDataType getEFile()
           
 org.eclipse.emf.ecore.EDataType getEIterator()
           
 org.eclipse.emf.ecore.EDataType getEJavaCollection()
           
 org.eclipse.emf.ecore.EReference getENotContainer_Elements()
           
 org.eclipse.emf.ecore.EClass getENotContainer()
           
 org.eclipse.emf.ecore.EAttribute getEObjectWithContainerId_Id()
           
 org.eclipse.emf.ecore.EClass getEObjectWithContainerId()
           
 org.eclipse.emf.ecore.EReference getEPair_X()
           
 org.eclipse.emf.ecore.EReference getEPair_Y()
           
 org.eclipse.emf.ecore.EClass getEPair()
           
 org.eclipse.emf.ecore.EAttribute getERelation_Name()
           
 org.eclipse.emf.ecore.EClass getERelation()
           
 org.eclipse.emf.ecore.EAttribute getEStringHolder_Value()
           
 org.eclipse.emf.ecore.EClass getEStringHolder()
           
static CommonPackage 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
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addEEnumLiteral, addEException, addEException, addEOperation, addEOperation, addEOperation, addEParameter, addEParameter, addEParameter, addEParameter, addEParameter, addETypeParameter, addETypeParameter, basicGetESuperPackage, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEGenericType, createEGenericType, createEGenericType, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEClass, initEDataType, initEDataType, initEDataType, initEEnum, initEOperation, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setInstanceTypeName, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, 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.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 CommonPackage 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:
CommonPackage.eNS_URI, createPackageContents(), initializePackageContents()

getECollection

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

Specified by:
getECollection in interface CommonPackage
Returns:
the meta object for class 'ECollection'.
See Also:
ECollection

getECollection_Contents

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

Specified by:
getECollection_Contents in interface CommonPackage
Returns:
the meta object for the reference list 'Contents'.
See Also:
ECollection.getContents(), CommonPackage.getECollection()

getEPair

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

Specified by:
getEPair in interface CommonPackage
Returns:
the meta object for class 'EPair'.
See Also:
EPair

getEPair_X

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

Specified by:
getEPair_X in interface CommonPackage
Returns:
the meta object for the reference 'X'.
See Also:
EPair.getX(), CommonPackage.getEPair()

getEPair_Y

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

Specified by:
getEPair_Y in interface CommonPackage
Returns:
the meta object for the reference 'Y'.
See Also:
EPair.getY(), CommonPackage.getEPair()

getERelation

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

Specified by:
getERelation in interface CommonPackage
Returns:
the meta object for class 'ERelation'.
See Also:
ERelation

getERelation_Name

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

Specified by:
getERelation_Name in interface CommonPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
ERelation.getName(), CommonPackage.getERelation()

getEContainer

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

Specified by:
getEContainer in interface CommonPackage
Returns:
the meta object for class 'EContainer'.
See Also:
EContainer

getEContainer_Containees

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

Specified by:
getEContainer_Containees in interface CommonPackage
Returns:
the meta object for the containment reference list 'Containees'.
See Also:
EContainer.getContainees(), CommonPackage.getEContainer()

getENotContainer

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

Specified by:
getENotContainer in interface CommonPackage
Returns:
the meta object for class 'ENot Container'.
See Also:
ENotContainer

getENotContainer_Elements

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

Specified by:
getENotContainer_Elements in interface CommonPackage
Returns:
the meta object for the reference list 'Elements'.
See Also:
ENotContainer.getElements(), CommonPackage.getENotContainer()

getEStringHolder

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

Specified by:
getEStringHolder in interface CommonPackage
Returns:
the meta object for class 'EString Holder'.
See Also:
EStringHolder

getEStringHolder_Value

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

Specified by:
getEStringHolder_Value in interface CommonPackage
Returns:
the meta object for the attribute 'Value'.
See Also:
EStringHolder.getValue(), CommonPackage.getEStringHolder()

getEObjectWithContainerId

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

Specified by:
getEObjectWithContainerId in interface CommonPackage
Returns:
the meta object for class 'EObject With Container Id'.
See Also:
EObjectWithContainerId

getEObjectWithContainerId_Id

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

Specified by:
getEObjectWithContainerId_Id in interface CommonPackage
Returns:
the meta object for the attribute 'Id'.
See Also:
EObjectWithContainerId.getId(), CommonPackage.getEObjectWithContainerId()

getEJavaCollection

public org.eclipse.emf.ecore.EDataType getEJavaCollection()

Specified by:
getEJavaCollection in interface CommonPackage
Returns:
the meta object for data type 'EJava Collection'.
See Also:
Collection

getEFile

public org.eclipse.emf.ecore.EDataType getEFile()

Specified by:
getEFile in interface CommonPackage
Returns:
the meta object for data type 'EFile'.
See Also:
File

getEIterator

public org.eclipse.emf.ecore.EDataType getEIterator()

Specified by:
getEIterator in interface CommonPackage
Returns:
the meta object for data type 'EIterator'.
See Also:
Iterator

getCommonFactory

public CommonFactory getCommonFactory()

Specified by:
getCommonFactory in interface CommonPackage
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.