de.uka.ipd.sdq.spa.impl
Class SpaPackageImpl

java.lang.Object
  extended by EPackageImpl
      extended by de.uka.ipd.sdq.spa.impl.SpaPackageImpl
All Implemented Interfaces:
SpaPackage

public class SpaPackageImpl
extends EPackageImpl
implements SpaPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.uka.ipd.sdq.spa.SpaPackage
SpaPackage.Literals
 
Field Summary
 
Fields inherited from interface de.uka.ipd.sdq.spa.SpaPackage
eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, PROCESS_BEHAVIOUR, PROCESS_BEHAVIOUR__BEHAVIOUR, PROCESS_BEHAVIOUR__NAME, PROCESS_BEHAVIOUR__NUM_REPLICAS, PROCESS_BEHAVIOUR_FEATURE_COUNT, SPA_MODEL, SPA_MODEL__PROCESSES, SPA_MODEL__RESOURCES, SPA_MODEL_FEATURE_COUNT
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 EReference getProcessBehaviour_Behaviour()
           
 EAttribute getProcessBehaviour_Name()
           
 EAttribute getProcessBehaviour_NumReplicas()
           
 EClass getProcessBehaviour()
           
 SpaFactory getSpaFactory()
           
 EReference getSPAModel_Processes()
           
 EReference getSPAModel_Resources()
           
 EClass getSPAModel()
           
static SpaPackage 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static SpaPackage 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:
SpaPackage.eNS_URI, createPackageContents(), initializePackageContents()

getProcessBehaviour

public EClass getProcessBehaviour()

Specified by:
getProcessBehaviour in interface SpaPackage
Returns:
the meta object for class 'Process Behaviour'.
See Also:
ProcessBehaviour

getProcessBehaviour_NumReplicas

public EAttribute getProcessBehaviour_NumReplicas()

Specified by:
getProcessBehaviour_NumReplicas in interface SpaPackage
Returns:
the meta object for the attribute 'Num Replicas'.
See Also:
ProcessBehaviour.getNumReplicas(), SpaPackage.getProcessBehaviour()

getProcessBehaviour_Name

public EAttribute getProcessBehaviour_Name()

Specified by:
getProcessBehaviour_Name in interface SpaPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
ProcessBehaviour.getName(), SpaPackage.getProcessBehaviour()

getProcessBehaviour_Behaviour

public EReference getProcessBehaviour_Behaviour()

Specified by:
getProcessBehaviour_Behaviour in interface SpaPackage
Returns:
the meta object for the containment reference 'Behaviour'.
See Also:
ProcessBehaviour.getBehaviour(), SpaPackage.getProcessBehaviour()

getSPAModel

public EClass getSPAModel()

Specified by:
getSPAModel in interface SpaPackage
Returns:
the meta object for class 'SPA Model'.
See Also:
SPAModel

getSPAModel_Processes

public EReference getSPAModel_Processes()

Specified by:
getSPAModel_Processes in interface SpaPackage
Returns:
the meta object for the containment reference list 'Processes'.
See Also:
SPAModel.getProcesses(), SpaPackage.getSPAModel()

getSPAModel_Resources

public EReference getSPAModel_Resources()

Specified by:
getSPAModel_Resources in interface SpaPackage
Returns:
the meta object for the containment reference list 'Resources'.
See Also:
SPAModel.getResources(), SpaPackage.getSPAModel()

getSpaFactory

public SpaFactory getSpaFactory()

Specified by:
getSpaFactory in interface SpaPackage
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.