edu.cmu.archevol.impl
Class archevolPackageImpl

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.FlatEObjectImpl
                  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 edu.cmu.archevol.impl.archevolPackageImpl
All Implemented Interfaces:
archevolPackage, 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

public class archevolPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements archevolPackage

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<E extends Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface edu.cmu.archevol.archevolPackage
archevolPackage.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 edu.cmu.archevol.archevolPackage
ARCHITECTURE_EVOLUTION, ARCHITECTURE_EVOLUTION__ARCHITECTUREINSTANCES, ARCHITECTURE_EVOLUTION__EVOLUTIONSTYLES, ARCHITECTURE_EVOLUTION__PATHS, ARCHITECTURE_EVOLUTION__TITLE, ARCHITECTURE_EVOLUTION__TRANSITIONS, ARCHITECTURE_EVOLUTION_FEATURE_COUNT, ARCHITECTURE_INSTANCE, ARCHITECTURE_INSTANCE__ACMESYSTEM, ARCHITECTURE_INSTANCE__ARCHITECTUREINSTANCEPATHS, ARCHITECTURE_INSTANCE__NAME, ARCHITECTURE_INSTANCE__PATHS, ARCHITECTURE_INSTANCE_FEATURE_COUNT, ARCHITECTURE_INSTANCE_PATH, ARCHITECTURE_INSTANCE_PATH__PATH, ARCHITECTURE_INSTANCE_PATH_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, EVOLUTION_STYLE, EVOLUTION_STYLE__CONTRIBUTIONNAME, EVOLUTION_STYLE__NAME, EVOLUTION_STYLE_FEATURE_COUNT, PATH, PATH__NAME, PATH_FEATURE_COUNT, TRANSITION, TRANSITION__NAME, TRANSITION__NEXT, TRANSITION__PATHS, TRANSITION__PREVIOUS, TRANSITION__TRANSITIONPATHS, TRANSITION_FEATURE_COUNT, TRANSITION_PATH, TRANSITION_PATH__PATH, TRANSITION_PATH_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 void addEAttribute(Class<?> containerClass, Class<?> typeClass, String fullName)
          Creates EAttribute for the containerClass arguement by calling createEAttribute(), stores feature id to be retrieved by calling getFeatureId and feature name to be retrieved by calling getEAttributeName initializes the created EAttribute by calling initEAttribute
 void createPackageContents()
          Creates the meta-model objects for the package.
 archevolFactory getarchevolFactory()
           
 org.eclipse.emf.ecore.EReference getArchitectureEvolution_Architectureinstances()
           
 org.eclipse.emf.ecore.EReference getArchitectureEvolution_Evolutionstyles()
           
 org.eclipse.emf.ecore.EReference getArchitectureEvolution_Paths()
           
 org.eclipse.emf.ecore.EAttribute getArchitectureEvolution_Title()
           
 org.eclipse.emf.ecore.EReference getArchitectureEvolution_Transitions()
           
 org.eclipse.emf.ecore.EClass getArchitectureEvolution()
           
 org.eclipse.emf.ecore.EAttribute getArchitectureInstance_Acmesystem()
           
 org.eclipse.emf.ecore.EReference getArchitectureInstance_Architectureinstancepaths()
           
 org.eclipse.emf.ecore.EAttribute getArchitectureInstance_Name()
           
 org.eclipse.emf.ecore.EReference getArchitectureInstance_Paths()
           
 org.eclipse.emf.ecore.EClass getArchitectureInstance()
           
 org.eclipse.emf.ecore.EReference getArchitectureInstancePath_Path()
           
 org.eclipse.emf.ecore.EClass getArchitectureInstancePath()
           
 org.eclipse.emf.ecore.EAttribute getEAttribute(Class<?> containerClass, String fullName)
          Returns the corresponse EAttribute registed in method addEAttribute
 String getEAttributeName(Class<?> containerClass, int featureId)
          Returns the attribute name registed in method addEAttribute
 org.eclipse.emf.ecore.EAttribute getEvolutionStyle_Contributionname()
           
 org.eclipse.emf.ecore.EAttribute getEvolutionStyle_Name()
           
 org.eclipse.emf.ecore.EClass getEvolutionStyle()
           
 int getFeatureId(String fullName)
          Returns the feature id registed in method addEAttribute
 org.eclipse.emf.ecore.EAttribute getPath_Name()
           
 org.eclipse.emf.ecore.EClass getPath()
           
 org.eclipse.emf.ecore.EAttribute getTransition_Name()
           
 org.eclipse.emf.ecore.EReference getTransition_Next()
           
 org.eclipse.emf.ecore.EReference getTransition_Paths()
           
 org.eclipse.emf.ecore.EReference getTransition_Previous()
           
 org.eclipse.emf.ecore.EReference getTransition_Transitionpaths()
           
 org.eclipse.emf.ecore.EClass getTransition()
           
 org.eclipse.emf.ecore.EReference getTransitionPath_Path()
           
 org.eclipse.emf.ecore.EClass getTransitionPath()
           
static archevolPackage 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, eSetProxyURI, 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
eContents, eCrossReferences, 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.FlatEObjectImpl
eIsProxy, eProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, 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, 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 archevolPackage 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:
archevolPackage.eNS_URI, createPackageContents(), initializePackageContents()

getArchitectureInstance

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

Specified by:
getArchitectureInstance in interface archevolPackage
Returns:
the meta object for class 'Architecture Instance'.
See Also:
ArchitectureInstance

getArchitectureInstance_Name

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

Specified by:
getArchitectureInstance_Name in interface archevolPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
ArchitectureInstance.getName(), archevolPackage.getArchitectureInstance()

getArchitectureInstance_Acmesystem

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

Specified by:
getArchitectureInstance_Acmesystem in interface archevolPackage
Returns:
the meta object for the attribute 'Acmesystem'.
See Also:
ArchitectureInstance.getAcmesystem(), archevolPackage.getArchitectureInstance()

getArchitectureInstance_Architectureinstancepaths

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

Specified by:
getArchitectureInstance_Architectureinstancepaths in interface archevolPackage
Returns:
the meta object for the containment reference list 'Architectureinstancepaths'.
See Also:
ArchitectureInstance.getArchitectureinstancepaths(), archevolPackage.getArchitectureInstance()

getArchitectureInstance_Paths

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

Specified by:
getArchitectureInstance_Paths in interface archevolPackage
Returns:
the meta object for the reference list 'Paths'.
See Also:
ArchitectureInstance.getPaths(), archevolPackage.getArchitectureInstance()

getTransition

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

Specified by:
getTransition in interface archevolPackage
Returns:
the meta object for class 'Transition'.
See Also:
Transition

getTransition_Name

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

Specified by:
getTransition_Name in interface archevolPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
Transition.getName(), archevolPackage.getTransition()

getTransition_Previous

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

Specified by:
getTransition_Previous in interface archevolPackage
Returns:
the meta object for the reference 'Previous'.
See Also:
Transition.getPrevious(), archevolPackage.getTransition()

getTransition_Next

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

Specified by:
getTransition_Next in interface archevolPackage
Returns:
the meta object for the reference 'Next'.
See Also:
Transition.getNext(), archevolPackage.getTransition()

getTransition_Transitionpaths

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

Specified by:
getTransition_Transitionpaths in interface archevolPackage
Returns:
the meta object for the containment reference list 'Transitionpaths'.
See Also:
Transition.getTransitionpaths(), archevolPackage.getTransition()

getTransition_Paths

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

Specified by:
getTransition_Paths in interface archevolPackage
Returns:
the meta object for the reference list 'Paths'.
See Also:
Transition.getPaths(), archevolPackage.getTransition()

getArchitectureEvolution

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

Specified by:
getArchitectureEvolution in interface archevolPackage
Returns:
the meta object for class 'Architecture Evolution'.
See Also:
ArchitectureEvolution

getArchitectureEvolution_Title

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

Specified by:
getArchitectureEvolution_Title in interface archevolPackage
Returns:
the meta object for the attribute 'Title'.
See Also:
ArchitectureEvolution.getTitle(), archevolPackage.getArchitectureEvolution()

getArchitectureEvolution_Architectureinstances

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

Specified by:
getArchitectureEvolution_Architectureinstances in interface archevolPackage
Returns:
the meta object for the containment reference list 'Architectureinstances'.
See Also:
ArchitectureEvolution.getArchitectureinstances(), archevolPackage.getArchitectureEvolution()

getArchitectureEvolution_Transitions

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

Specified by:
getArchitectureEvolution_Transitions in interface archevolPackage
Returns:
the meta object for the containment reference list 'Transitions'.
See Also:
ArchitectureEvolution.getTransitions(), archevolPackage.getArchitectureEvolution()

getArchitectureEvolution_Paths

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

Specified by:
getArchitectureEvolution_Paths in interface archevolPackage
Returns:
the meta object for the containment reference list 'Paths'.
See Also:
ArchitectureEvolution.getPaths(), archevolPackage.getArchitectureEvolution()

getArchitectureEvolution_Evolutionstyles

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

Specified by:
getArchitectureEvolution_Evolutionstyles in interface archevolPackage
Returns:
the meta object for the containment reference list 'Evolutionstyles'.
See Also:
ArchitectureEvolution.getEvolutionstyles(), archevolPackage.getArchitectureEvolution()

getPath

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

Specified by:
getPath in interface archevolPackage
Returns:
the meta object for class 'Path'.
See Also:
Path

getPath_Name

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

Specified by:
getPath_Name in interface archevolPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
Path.getName(), archevolPackage.getPath()

getArchitectureInstancePath

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

Specified by:
getArchitectureInstancePath in interface archevolPackage
Returns:
the meta object for class 'Architecture Instance Path'.
See Also:
ArchitectureInstancePath

getArchitectureInstancePath_Path

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

Specified by:
getArchitectureInstancePath_Path in interface archevolPackage
Returns:
the meta object for the reference 'Path'.
See Also:
ArchitectureInstancePath.getPath(), archevolPackage.getArchitectureInstancePath()

getTransitionPath

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

Specified by:
getTransitionPath in interface archevolPackage
Returns:
the meta object for class 'Transition Path'.
See Also:
TransitionPath

getTransitionPath_Path

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

Specified by:
getTransitionPath_Path in interface archevolPackage
Returns:
the meta object for the reference 'Path'.
See Also:
TransitionPath.getPath(), archevolPackage.getTransitionPath()

getEvolutionStyle

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

Specified by:
getEvolutionStyle in interface archevolPackage
Returns:
the meta object for class 'Evolution Style'.
See Also:
EvolutionStyle

getEvolutionStyle_Name

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

Specified by:
getEvolutionStyle_Name in interface archevolPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
EvolutionStyle.getName(), archevolPackage.getEvolutionStyle()

getEvolutionStyle_Contributionname

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

Specified by:
getEvolutionStyle_Contributionname in interface archevolPackage
Returns:
the meta object for the attribute 'Contributionname'.
See Also:
EvolutionStyle.getContributionname(), archevolPackage.getEvolutionStyle()

getarchevolFactory

public archevolFactory getarchevolFactory()

Specified by:
getarchevolFactory in interface archevolPackage
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.


getEAttributeName

public String getEAttributeName(Class<?> containerClass,
                                int featureId)
Description copied from interface: archevolPackage
Returns the attribute name registed in method addEAttribute

Specified by:
getEAttributeName in interface archevolPackage
Parameters:
containerClass - the container Class
featureId - the feature id
Returns:
the attribute name
See Also:
archevolPackage.getEAttributeName(java.lang.Class, int)

getFeatureId

public int getFeatureId(String fullName)
Description copied from interface: archevolPackage
Returns the feature id registed in method addEAttribute

Specified by:
getFeatureId in interface archevolPackage
Parameters:
fullName - the name of the attribute
Returns:
feature id
See Also:
archevolPackage.getFeatureId(java.lang.String)

getEAttribute

public org.eclipse.emf.ecore.EAttribute getEAttribute(Class<?> containerClass,
                                                      String fullName)
Description copied from interface: archevolPackage
Returns the corresponse EAttribute registed in method addEAttribute

Specified by:
getEAttribute in interface archevolPackage
Parameters:
containerClass - the container Class
fullName - the name of the attribute
Returns:
the corresponse EAttribute
See Also:
archevolPackage.getEAttribute(java.lang.Class, java.lang.String)

addEAttribute

public void addEAttribute(Class<?> containerClass,
                          Class<?> typeClass,
                          String fullName)
Description copied from interface: archevolPackage
Creates EAttribute for the containerClass arguement by calling createEAttribute(), stores feature id to be retrieved by calling getFeatureId and feature name to be retrieved by calling getEAttributeName initializes the created EAttribute by calling initEAttribute

Specified by:
addEAttribute in interface archevolPackage
Parameters:
containerClass - the container Class
fullName - the name of the attribute
See Also:
edu.cmu.archevol.archevolPackage#addEAttribute(java.lang.String, java.lang.Class, java.lang.String)