Package de.fzi.power.specification.impl
Class SpecificationPackageImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.emf.ecore.impl.EModelElementImpl
-
- org.eclipse.emf.ecore.impl.ENamedElementImpl
-
- org.eclipse.emf.ecore.impl.EPackageImpl
-
- de.fzi.power.specification.impl.SpecificationPackageImpl
-
- All Implemented Interfaces:
SpecificationPackage
,Notifier
,EModelElement
,ENamedElement
,EObject
,EPackage
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,BasicExtendedMetaData.EPackageExtendedMetaData.Holder
public class SpecificationPackageImpl extends EPackageImpl implements SpecificationPackage
An implementation of the model Package.- Generated class or method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
EPackageImpl.EBasicWhiteList
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
EPackage.Descriptor, EPackage.Registry
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
Nested classes/interfaces inherited from interface de.fzi.power.specification.SpecificationPackage
SpecificationPackage.Literals
-
-
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 org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
-
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Fields inherited from interface de.fzi.power.specification.SpecificationPackage
BLACK_BOX_DISTRIBUTION_POWER_MODEL_SPECIFICATION, BLACK_BOX_DISTRIBUTION_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, BLACK_BOX_DISTRIBUTION_POWER_MODEL_SPECIFICATION__ID, BLACK_BOX_DISTRIBUTION_POWER_MODEL_SPECIFICATION__NAME, BLACK_BOX_DISTRIBUTION_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, BLACK_BOX_DISTRIBUTION_POWER_MODEL_SPECIFICATION_FEATURE_COUNT, BLACK_BOX_POWER_MODEL_SPECIFICATION, BLACK_BOX_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, BLACK_BOX_POWER_MODEL_SPECIFICATION__ID, BLACK_BOX_POWER_MODEL_SPECIFICATION__NAME, BLACK_BOX_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, BLACK_BOX_POWER_MODEL_SPECIFICATION_FEATURE_COUNT, BLACK_BOX_RESOURCE_POWER_MODEL_SPECIFICATION, BLACK_BOX_RESOURCE_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, BLACK_BOX_RESOURCE_POWER_MODEL_SPECIFICATION__ID, BLACK_BOX_RESOURCE_POWER_MODEL_SPECIFICATION__NAME, BLACK_BOX_RESOURCE_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, BLACK_BOX_RESOURCE_POWER_MODEL_SPECIFICATION_FEATURE_COUNT, CONSUMPTION_FACTOR, CONSUMPTION_FACTOR__ID, CONSUMPTION_FACTOR__NAME, CONSUMPTION_FACTOR__POWER_MODEL, CONSUMPTION_FACTOR_FEATURE_COUNT, DECLARATIVE_DISTRIBUTION_POWER_MODEL_SPECIFICATION, DECLARATIVE_DISTRIBUTION_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, DECLARATIVE_DISTRIBUTION_POWER_MODEL_SPECIFICATION__FUNCTIONAL_EXPRESSION, DECLARATIVE_DISTRIBUTION_POWER_MODEL_SPECIFICATION__ID, DECLARATIVE_DISTRIBUTION_POWER_MODEL_SPECIFICATION__NAME, DECLARATIVE_DISTRIBUTION_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, DECLARATIVE_DISTRIBUTION_POWER_MODEL_SPECIFICATION_FEATURE_COUNT, DECLARATIVE_POWER_MODEL_SPECIFICATION, DECLARATIVE_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, DECLARATIVE_POWER_MODEL_SPECIFICATION__FUNCTIONAL_EXPRESSION, DECLARATIVE_POWER_MODEL_SPECIFICATION__ID, DECLARATIVE_POWER_MODEL_SPECIFICATION__NAME, DECLARATIVE_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, DECLARATIVE_POWER_MODEL_SPECIFICATION_FEATURE_COUNT, DECLARATIVE_RESOURCE_POWER_MODEL_SPECIFICATION, DECLARATIVE_RESOURCE_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, DECLARATIVE_RESOURCE_POWER_MODEL_SPECIFICATION__FUNCTIONAL_EXPRESSION, DECLARATIVE_RESOURCE_POWER_MODEL_SPECIFICATION__ID, DECLARATIVE_RESOURCE_POWER_MODEL_SPECIFICATION__NAME, DECLARATIVE_RESOURCE_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, DECLARATIVE_RESOURCE_POWER_MODEL_SPECIFICATION_FEATURE_COUNT, DISTRIBUTION_POWER_MODEL_SPECIFICATION, DISTRIBUTION_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, DISTRIBUTION_POWER_MODEL_SPECIFICATION__ID, DISTRIBUTION_POWER_MODEL_SPECIFICATION__NAME, DISTRIBUTION_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, DISTRIBUTION_POWER_MODEL_SPECIFICATION_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, FIXED_FACTOR, FIXED_FACTOR__ID, FIXED_FACTOR__NAME, FIXED_FACTOR__POWER_MODEL, FIXED_FACTOR_FEATURE_COUNT, MEASURED_FACTOR, MEASURED_FACTOR__ID, MEASURED_FACTOR__METRIC_TYPE, MEASURED_FACTOR__NAME, MEASURED_FACTOR__POWER_MODEL, MEASURED_FACTOR_FEATURE_COUNT, POWER_MODEL_REPOSITORY, POWER_MODEL_REPOSITORY__ID, POWER_MODEL_REPOSITORY__POWER_MODEL_SPECIFICATIONS, POWER_MODEL_REPOSITORY_FEATURE_COUNT, POWER_MODEL_SPECIFICATION, POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, POWER_MODEL_SPECIFICATION__ID, POWER_MODEL_SPECIFICATION__NAME, POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, POWER_MODEL_SPECIFICATION_FEATURE_COUNT, RESOURCE_POWER_MODEL_SPECIFICATION, RESOURCE_POWER_MODEL_SPECIFICATION__CONSUMPTION_FACTORS, RESOURCE_POWER_MODEL_SPECIFICATION__ID, RESOURCE_POWER_MODEL_SPECIFICATION__NAME, RESOURCE_POWER_MODEL_SPECIFICATION__POWERMODELREPOSITORY, RESOURCE_POWER_MODEL_SPECIFICATION_FEATURE_COUNT
-
-
Method Summary
-
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addAnnotation, 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, createEOperation, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEOperations, 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, initEOperation, initEOperation, initEOperation, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setInstanceTypeName, setName, setNamespaceURI, setNsPrefix, setNsURI, toString
-
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen
-
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, 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, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, 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, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, 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.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
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.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
init
public static SpecificationPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.This method is used to initialize
SpecificationPackage.eINSTANCE
when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.- See Also:
SpecificationPackage.eNS_URI
,createPackageContents()
,initializePackageContents()
- Generated class or method.
-
getPowerModelRepository
public EClass getPowerModelRepository()
- Specified by:
getPowerModelRepository
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Power Model Repository'.
- See Also:
PowerModelRepository
- Generated class or method.
-
getPowerModelRepository_PowerModelSpecifications
public EReference getPowerModelRepository_PowerModelSpecifications()
- Specified by:
getPowerModelRepository_PowerModelSpecifications
in interfaceSpecificationPackage
- Returns:
- the meta object for the containment reference list 'Power Model Specifications'.
- See Also:
PowerModelRepository.getPowerModelSpecifications()
,SpecificationPackage.getPowerModelRepository()
- Generated class or method.
-
getPowerModelSpecification
public EClass getPowerModelSpecification()
- Specified by:
getPowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Power Model Specification'.
- See Also:
PowerModelSpecification
- Generated class or method.
-
getPowerModelSpecification_Powermodelrepository
public EReference getPowerModelSpecification_Powermodelrepository()
- Specified by:
getPowerModelSpecification_Powermodelrepository
in interfaceSpecificationPackage
- Returns:
- the meta object for the container reference 'Powermodelrepository'.
- See Also:
PowerModelSpecification.getPowermodelrepository()
,SpecificationPackage.getPowerModelSpecification()
- Generated class or method.
-
getPowerModelSpecification_ConsumptionFactors
public EReference getPowerModelSpecification_ConsumptionFactors()
- Specified by:
getPowerModelSpecification_ConsumptionFactors
in interfaceSpecificationPackage
- Returns:
- the meta object for the containment reference list 'Consumption Factors'.
- See Also:
PowerModelSpecification.getConsumptionFactors()
,SpecificationPackage.getPowerModelSpecification()
- Generated class or method.
-
getResourcePowerModelSpecification
public EClass getResourcePowerModelSpecification()
- Specified by:
getResourcePowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Resource Power Model Specification'.
- See Also:
ResourcePowerModelSpecification
- Generated class or method.
-
getDistributionPowerModelSpecification
public EClass getDistributionPowerModelSpecification()
- Specified by:
getDistributionPowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Distribution Power Model Specification'.
- See Also:
DistributionPowerModelSpecification
- Generated class or method.
-
getFixedFactor
public EClass getFixedFactor()
- Specified by:
getFixedFactor
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Fixed Factor'.
- See Also:
FixedFactor
- Generated class or method.
-
getConsumptionFactor
public EClass getConsumptionFactor()
- Specified by:
getConsumptionFactor
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Consumption Factor'.
- See Also:
ConsumptionFactor
- Generated class or method.
-
getConsumptionFactor_PowerModel
public EReference getConsumptionFactor_PowerModel()
- Specified by:
getConsumptionFactor_PowerModel
in interfaceSpecificationPackage
- Returns:
- the meta object for the container reference 'Power Model'.
- See Also:
ConsumptionFactor.getPowerModel()
,SpecificationPackage.getConsumptionFactor()
- Generated class or method.
-
getMeasuredFactor
public EClass getMeasuredFactor()
- Specified by:
getMeasuredFactor
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Measured Factor'.
- See Also:
MeasuredFactor
- Generated class or method.
-
getMeasuredFactor_MetricType
public EReference getMeasuredFactor_MetricType()
- Specified by:
getMeasuredFactor_MetricType
in interfaceSpecificationPackage
- Returns:
- the meta object for the reference 'Metric Type'.
- See Also:
MeasuredFactor.getMetricType()
,SpecificationPackage.getMeasuredFactor()
- Generated class or method.
-
getDeclarativePowerModelSpecification
public EClass getDeclarativePowerModelSpecification()
- Specified by:
getDeclarativePowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Declarative Power Model Specification'.
- See Also:
DeclarativePowerModelSpecification
- Generated class or method.
-
getDeclarativePowerModelSpecification_FunctionalExpression
public EAttribute getDeclarativePowerModelSpecification_FunctionalExpression()
- Specified by:
getDeclarativePowerModelSpecification_FunctionalExpression
in interfaceSpecificationPackage
- Returns:
- the meta object for the attribute 'Functional Expression'.
- See Also:
DeclarativePowerModelSpecification.getFunctionalExpression()
,SpecificationPackage.getDeclarativePowerModelSpecification()
- Generated class or method.
-
getDeclarativeResourcePowerModelSpecification
public EClass getDeclarativeResourcePowerModelSpecification()
- Specified by:
getDeclarativeResourcePowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Declarative Resource Power Model Specification'.
- See Also:
DeclarativeResourcePowerModelSpecification
- Generated class or method.
-
getDeclarativeDistributionPowerModelSpecification
public EClass getDeclarativeDistributionPowerModelSpecification()
- Specified by:
getDeclarativeDistributionPowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Declarative Distribution Power Model Specification'.
- See Also:
DeclarativeDistributionPowerModelSpecification
- Generated class or method.
-
getBlackBoxPowerModelSpecification
public EClass getBlackBoxPowerModelSpecification()
- Specified by:
getBlackBoxPowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Black Box Power Model Specification'.
- See Also:
BlackBoxPowerModelSpecification
- Generated class or method.
-
getBlackBoxDistributionPowerModelSpecification
public EClass getBlackBoxDistributionPowerModelSpecification()
- Specified by:
getBlackBoxDistributionPowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Black Box Distribution Power Model Specification'.
- See Also:
BlackBoxDistributionPowerModelSpecification
- Generated class or method.
-
getBlackBoxResourcePowerModelSpecification
public EClass getBlackBoxResourcePowerModelSpecification()
- Specified by:
getBlackBoxResourcePowerModelSpecification
in interfaceSpecificationPackage
- Returns:
- the meta object for class 'Black Box Resource Power Model Specification'.
- See Also:
BlackBoxResourcePowerModelSpecification
- Generated class or method.
-
getSpecificationFactory
public SpecificationFactory getSpecificationFactory()
- Specified by:
getSpecificationFactory
in interfaceSpecificationPackage
- Returns:
- the factory that creates the instances of the model.
- Generated class or method.
-
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.- Generated class or method.
-
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.- Generated class or method.
-
-