de.uka.ipd.sdq.units.impl
Class UnitsPackageImpl

java.lang.Object
  extended by EPackageImpl
      extended by de.uka.ipd.sdq.units.impl.UnitsPackageImpl
All Implemented Interfaces:
UnitsPackage

public class UnitsPackageImpl
extends EPackageImpl
implements UnitsPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.uka.ipd.sdq.units.UnitsPackage
UnitsPackage.Literals
 
Field Summary
static String copyright
           
 
Fields inherited from interface de.uka.ipd.sdq.units.UnitsPackage
BASE_UNIT, BASE_UNIT__NAME, BASE_UNIT_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, UNIT, UNIT_CARRYING_ELEMENT, UNIT_CARRYING_ELEMENT__UNIT, UNIT_CARRYING_ELEMENT__UNIT_SPECIFICATION, UNIT_CARRYING_ELEMENT_FEATURE_COUNT, UNIT_FEATURE_COUNT, UNIT_LITERAL, UNIT_LITERAL__BASE_UNIT, UNIT_LITERAL_FEATURE_COUNT, UNIT_MULTIPLICATION, UNIT_MULTIPLICATION__UNITS, UNIT_MULTIPLICATION_FEATURE_COUNT, UNIT_POWER, UNIT_POWER__EXPONENT, UNIT_POWER__UNIT, UNIT_POWER_FEATURE_COUNT, UNIT_REPOSITORY, UNIT_REPOSITORY__UNITS, UNIT_REPOSITORY_FEATURE_COUNT
 
Method Summary
protected  void createExtendedMetaDataAnnotations()
          Initializes the annotations for http:///org/eclipse/emf/ecore/util/ExtendedMetaData.
 void createPackageContents()
          Creates the meta-model objects for the package.
 EAttribute getBaseUnit_Name()
           
 EClass getBaseUnit()
           
 EClass getUnit()
           
 EReference getUnitCarryingElement_Unit()
           
 EAttribute getUnitCarryingElement_UnitSpecification()
           
 EClass getUnitCarryingElement()
           
 EReference getUnitLiteral_BaseUnit()
           
 EClass getUnitLiteral()
           
 EReference getUnitMultiplication_Units()
           
 EClass getUnitMultiplication()
           
 EAttribute getUnitPower_Exponent()
           
 EReference getUnitPower_Unit()
           
 EClass getUnitPower()
           
 EReference getUnitRepository_Units()
           
 EClass getUnitRepository()
           
 UnitsFactory getUnitsFactory()
           
static UnitsPackage 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 UnitsPackage 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:
UnitsPackage.eNS_URI, createPackageContents(), initializePackageContents()

getUnitCarryingElement

public EClass getUnitCarryingElement()

Specified by:
getUnitCarryingElement in interface UnitsPackage
Returns:
the meta object for class 'Unit Carrying Element'.
See Also:
UnitCarryingElement

getUnitCarryingElement_Unit

public EReference getUnitCarryingElement_Unit()

Specified by:
getUnitCarryingElement_Unit in interface UnitsPackage
Returns:
the meta object for the reference 'Unit'.
See Also:
UnitCarryingElement.getUnit(), UnitsPackage.getUnitCarryingElement()

getUnitCarryingElement_UnitSpecification

public EAttribute getUnitCarryingElement_UnitSpecification()

Specified by:
getUnitCarryingElement_UnitSpecification in interface UnitsPackage
Returns:
the meta object for the attribute 'Unit Specification'.
See Also:
UnitCarryingElement.getUnitSpecification(), UnitsPackage.getUnitCarryingElement()

getUnit

public EClass getUnit()

Specified by:
getUnit in interface UnitsPackage
Returns:
the meta object for class 'Unit'.
See Also:
Unit

getBaseUnit

public EClass getBaseUnit()

Specified by:
getBaseUnit in interface UnitsPackage
Returns:
the meta object for class 'Base Unit'.
See Also:
BaseUnit

getBaseUnit_Name

public EAttribute getBaseUnit_Name()

Specified by:
getBaseUnit_Name in interface UnitsPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
BaseUnit.getName(), UnitsPackage.getBaseUnit()

getUnitRepository

public EClass getUnitRepository()

Specified by:
getUnitRepository in interface UnitsPackage
Returns:
the meta object for class 'Unit Repository'.
See Also:
UnitRepository

getUnitRepository_Units

public EReference getUnitRepository_Units()

Specified by:
getUnitRepository_Units in interface UnitsPackage
Returns:
the meta object for the containment reference list 'Units'.
See Also:
UnitRepository.getUnits(), UnitsPackage.getUnitRepository()

getUnitMultiplication

public EClass getUnitMultiplication()

Specified by:
getUnitMultiplication in interface UnitsPackage
Returns:
the meta object for class 'Unit Multiplication'.
See Also:
UnitMultiplication

getUnitMultiplication_Units

public EReference getUnitMultiplication_Units()

Specified by:
getUnitMultiplication_Units in interface UnitsPackage
Returns:
the meta object for the containment reference list 'Units'.
See Also:
UnitMultiplication.getUnits(), UnitsPackage.getUnitMultiplication()

getUnitPower

public EClass getUnitPower()

Specified by:
getUnitPower in interface UnitsPackage
Returns:
the meta object for class 'Unit Power'.
See Also:
UnitPower

getUnitPower_Unit

public EReference getUnitPower_Unit()

Specified by:
getUnitPower_Unit in interface UnitsPackage
Returns:
the meta object for the containment reference 'Unit'.
See Also:
UnitPower.getUnit(), UnitsPackage.getUnitPower()

getUnitPower_Exponent

public EAttribute getUnitPower_Exponent()

Specified by:
getUnitPower_Exponent in interface UnitsPackage
Returns:
the meta object for the attribute 'Exponent'.
See Also:
UnitPower.getExponent(), UnitsPackage.getUnitPower()

getUnitLiteral

public EClass getUnitLiteral()

Specified by:
getUnitLiteral in interface UnitsPackage
Returns:
the meta object for class 'Unit Literal'.
See Also:
UnitLiteral

getUnitLiteral_BaseUnit

public EReference getUnitLiteral_BaseUnit()

Specified by:
getUnitLiteral_BaseUnit in interface UnitsPackage
Returns:
the meta object for the reference 'Base Unit'.
See Also:
UnitLiteral.getBaseUnit(), UnitsPackage.getUnitLiteral()

getUnitsFactory

public UnitsFactory getUnitsFactory()

Specified by:
getUnitsFactory in interface UnitsPackage
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.


createExtendedMetaDataAnnotations

protected void createExtendedMetaDataAnnotations()
Initializes the annotations for http:///org/eclipse/emf/ecore/util/ExtendedMetaData.