Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.app.model.impl
Class ModelPackageImpl

java.lang.Object
  extended by EPackageImpl
      extended by com.ibm.etools.systems.app.model.impl.ModelPackageImpl
All Implemented Interfaces:
ModelPackage

public class ModelPackageImpl
extends EPackageImpl
implements ModelPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ibm.etools.systems.app.model.ModelPackage
ModelPackage.Literals
 
Field Summary
static String copyright
           
 
Fields inherited from interface com.ibm.etools.systems.app.model.ModelPackage
APPLICATION_MODEL, APPLICATION_MODEL__ARTIFACTS, APPLICATION_MODEL__MODEL_VERSION, APPLICATION_MODEL__RELATIONSHIPS, APPLICATION_MODEL_FEATURE_COUNT, ARTIFACT, ARTIFACT__EXTERNAL, ARTIFACT__LOCATION, ARTIFACT__NAME, ARTIFACT__SUBTYPE, ARTIFACT__TYPE, ARTIFACT__VERSION, ARTIFACT_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, RELATIONSHIP, RELATIONSHIP__SOURCE, RELATIONSHIP__SUBTYPE, RELATIONSHIP__TARGET, RELATIONSHIP__TYPE, RELATIONSHIP_FEATURE_COUNT
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 EReference getApplicationModel_Artifacts()
           
 EAttribute getApplicationModel_ModelVersion()
           
 EReference getApplicationModel_Relationships()
           
 EClass getApplicationModel()
           
 EAttribute getArtifact_External()
           
 EAttribute getArtifact_Location()
           
 EAttribute getArtifact_Name()
           
 EAttribute getArtifact_Subtype()
           
 EAttribute getArtifact_Type()
           
 EAttribute getArtifact_Version()
           
 EClass getArtifact()
           
 ModelFactory getModelFactory()
           
 EReference getRelationship_Source()
           
 EAttribute getRelationship_Subtype()
           
 EReference getRelationship_Target()
           
 EAttribute getRelationship_Type()
           
 EClass getRelationship()
           
static ModelPackage 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
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

init

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

getRelationship

public EClass getRelationship()

Specified by:
getRelationship in interface ModelPackage
Returns:
the meta object for class 'Relationship'.
See Also:
Relationship

getRelationship_Source

public EReference getRelationship_Source()

Specified by:
getRelationship_Source in interface ModelPackage
Returns:
the meta object for the reference 'Source'.
See Also:
Relationship.getSource(), ModelPackage.getRelationship()

getRelationship_Target

public EReference getRelationship_Target()

Specified by:
getRelationship_Target in interface ModelPackage
Returns:
the meta object for the reference 'Target'.
See Also:
Relationship.getTarget(), ModelPackage.getRelationship()

getRelationship_Type

public EAttribute getRelationship_Type()

Specified by:
getRelationship_Type in interface ModelPackage
Returns:
the meta object for the attribute 'Type'.
See Also:
Relationship.getType(), ModelPackage.getRelationship()

getRelationship_Subtype

public EAttribute getRelationship_Subtype()

Specified by:
getRelationship_Subtype in interface ModelPackage
Returns:
the meta object for the attribute 'Subtype'.
See Also:
Relationship.getSubtype(), ModelPackage.getRelationship()

getArtifact

public EClass getArtifact()

Specified by:
getArtifact in interface ModelPackage
Returns:
the meta object for class 'Artifact'.
See Also:
Artifact

getArtifact_Name

public EAttribute getArtifact_Name()

Specified by:
getArtifact_Name in interface ModelPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
Artifact.getName(), ModelPackage.getArtifact()

getArtifact_Type

public EAttribute getArtifact_Type()

Specified by:
getArtifact_Type in interface ModelPackage
Returns:
the meta object for the attribute 'Type'.
See Also:
Artifact.getType(), ModelPackage.getArtifact()

getArtifact_Subtype

public EAttribute getArtifact_Subtype()

Specified by:
getArtifact_Subtype in interface ModelPackage
Returns:
the meta object for the attribute 'Subtype'.
See Also:
Artifact.getSubtype(), ModelPackage.getArtifact()

getArtifact_Version

public EAttribute getArtifact_Version()

Specified by:
getArtifact_Version in interface ModelPackage
Returns:
the meta object for the attribute 'Version'.
See Also:
Artifact.getVersion(), ModelPackage.getArtifact()

getArtifact_External

public EAttribute getArtifact_External()

Specified by:
getArtifact_External in interface ModelPackage
Returns:
the meta object for the attribute 'External'.
See Also:
Artifact.isExternal(), ModelPackage.getArtifact()

getArtifact_Location

public EAttribute getArtifact_Location()

Specified by:
getArtifact_Location in interface ModelPackage
Returns:
the meta object for the attribute 'Location'.
See Also:
Artifact.getLocation(), ModelPackage.getArtifact()

getApplicationModel

public EClass getApplicationModel()

Specified by:
getApplicationModel in interface ModelPackage
Returns:
the meta object for class 'Application Model'.
See Also:
ApplicationModel

getApplicationModel_Artifacts

public EReference getApplicationModel_Artifacts()

Specified by:
getApplicationModel_Artifacts in interface ModelPackage
Returns:
the meta object for the containment reference list 'Artifacts'.
See Also:
ApplicationModel.getArtifacts(), ModelPackage.getApplicationModel()

getApplicationModel_Relationships

public EReference getApplicationModel_Relationships()

Specified by:
getApplicationModel_Relationships in interface ModelPackage
Returns:
the meta object for the containment reference list 'Relationships'.
See Also:
ApplicationModel.getRelationships(), ModelPackage.getApplicationModel()

getApplicationModel_ModelVersion

public EAttribute getApplicationModel_ModelVersion()

Specified by:
getApplicationModel_ModelVersion in interface ModelPackage
Returns:
the meta object for the attribute 'Model Version'.
See Also:
ApplicationModel.getModelVersion(), ModelPackage.getApplicationModel()

getModelFactory

public ModelFactory getModelFactory()

Specified by:
getModelFactory in interface ModelPackage
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.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.