Class ResourceModelPackageImpl
- 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
-
- org.palladiosimulator.solver.spa.resourcemodel.impl.ResourceModelPackageImpl
-
- All Implemented Interfaces:
Notifier
,EModelElement
,ENamedElement
,EObject
,EPackage
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,BasicExtendedMetaData.EPackageExtendedMetaData.Holder
,ResourceModelPackage
public class ResourceModelPackageImpl extends EPackageImpl implements ResourceModelPackage
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 org.palladiosimulator.solver.spa.resourcemodel.ResourceModelPackage
ResourceModelPackage.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 org.palladiosimulator.solver.spa.resourcemodel.ResourceModelPackage
ABSTRACT_RESOURCE_USAGE, ABSTRACT_RESOURCE_USAGE_FEATURE_COUNT, ACTIVE_RESOURCE, ACTIVE_RESOURCE__NAME, ACTIVE_RESOURCE__NUMBER_OF_SERVERS, ACTIVE_RESOURCE_FEATURE_COUNT, ALTERNATIVE_RESOURCE_USAGE, ALTERNATIVE_RESOURCE_USAGE__OPTIONS, ALTERNATIVE_RESOURCE_USAGE_FEATURE_COUNT, CONTENTION_RESOURCE, CONTENTION_RESOURCE__NAME, CONTENTION_RESOURCE__NUM_REPLICAS, CONTENTION_RESOURCE__NUMBER_OF_SERVERS, CONTENTION_RESOURCE_FEATURE_COUNT, DELAY_RESOURCE, DELAY_RESOURCE__NAME, DELAY_RESOURCE__NUMBER_OF_SERVERS, DELAY_RESOURCE_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, OPTION, OPTION__PROBABILITY, OPTION__RESOURCE_USAGE, OPTION_FEATURE_COUNT, PASSIVE_RESOURCE, PASSIVE_RESOURCE__NAME, PASSIVE_RESOURCE__NUM_REPLICAS, PASSIVE_RESOURCE__NUMBER_OF_SERVERS, PASSIVE_RESOURCE_FEATURE_COUNT, PROCESSING_RESOURCE, PROCESSING_RESOURCE__NAME, PROCESSING_RESOURCE__NUM_REPLICAS, PROCESSING_RESOURCE__NUMBER_OF_SERVERS, PROCESSING_RESOURCE_FEATURE_COUNT, RESOURCE, RESOURCE__NAME, RESOURCE__NUMBER_OF_SERVERS, RESOURCE_FEATURE_COUNT, RESOURCE_USAGE, RESOURCE_USAGE__RESOURCE, RESOURCE_USAGE__USAGE_TIME, RESOURCE_USAGE_FEATURE_COUNT, SEQUENTIAL_RESOURCE_USAGE, SEQUENTIAL_RESOURCE_USAGE__RESOURCE_USAGES, SEQUENTIAL_RESOURCE_USAGE_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 ResourceModelPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.This method is used to initialize
ResourceModelPackage.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:
ResourceModelPackage.eNS_URI
,createPackageContents()
,initializePackageContents()
- Generated class or method.
-
getSequentialResourceUsage
public EClass getSequentialResourceUsage()
- Specified by:
getSequentialResourceUsage
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Sequential Resource Usage'.
- See Also:
SequentialResourceUsage
- Generated class or method.
-
getSequentialResourceUsage_ResourceUsages
public EReference getSequentialResourceUsage_ResourceUsages()
- Specified by:
getSequentialResourceUsage_ResourceUsages
in interfaceResourceModelPackage
- Returns:
- the meta object for the containment reference list 'Resource Usages'.
- See Also:
SequentialResourceUsage.getResourceUsages()
,ResourceModelPackage.getSequentialResourceUsage()
- Generated class or method.
-
getAbstractResourceUsage
public EClass getAbstractResourceUsage()
- Specified by:
getAbstractResourceUsage
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Abstract Resource Usage'.
- See Also:
AbstractResourceUsage
- Generated class or method.
-
getAlternativeResourceUsage
public EClass getAlternativeResourceUsage()
- Specified by:
getAlternativeResourceUsage
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Alternative Resource Usage'.
- See Also:
AlternativeResourceUsage
- Generated class or method.
-
getAlternativeResourceUsage_Options
public EReference getAlternativeResourceUsage_Options()
- Specified by:
getAlternativeResourceUsage_Options
in interfaceResourceModelPackage
- Returns:
- the meta object for the containment reference list 'Options'.
- See Also:
AlternativeResourceUsage.getOptions()
,ResourceModelPackage.getAlternativeResourceUsage()
- Generated class or method.
-
getOption
public EClass getOption()
- Specified by:
getOption
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Option'.
- See Also:
Option
- Generated class or method.
-
getOption_Probability
public EAttribute getOption_Probability()
- Specified by:
getOption_Probability
in interfaceResourceModelPackage
- Returns:
- the meta object for the attribute 'Probability'.
- See Also:
Option.getProbability()
,ResourceModelPackage.getOption()
- Generated class or method.
-
getOption_ResourceUsage
public EReference getOption_ResourceUsage()
- Specified by:
getOption_ResourceUsage
in interfaceResourceModelPackage
- Returns:
- the meta object for the containment reference 'Resource Usage'.
- See Also:
Option.getResourceUsage()
,ResourceModelPackage.getOption()
- Generated class or method.
-
getResourceUsage
public EClass getResourceUsage()
- Specified by:
getResourceUsage
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Resource Usage'.
- See Also:
ResourceUsage
- Generated class or method.
-
getResourceUsage_UsageTime
public EReference getResourceUsage_UsageTime()
- Specified by:
getResourceUsage_UsageTime
in interfaceResourceModelPackage
- Returns:
- the meta object for the containment reference 'Usage Time'.
- See Also:
ResourceUsage.getUsageTime()
,ResourceModelPackage.getResourceUsage()
- Generated class or method.
-
getResourceUsage_Resource
public EReference getResourceUsage_Resource()
- Specified by:
getResourceUsage_Resource
in interfaceResourceModelPackage
- Returns:
- the meta object for the reference 'Resource'.
- See Also:
ResourceUsage.getResource()
,ResourceModelPackage.getResourceUsage()
- Generated class or method.
-
getActiveResource
public EClass getActiveResource()
- Specified by:
getActiveResource
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Active Resource'.
- See Also:
ActiveResource
- Generated class or method.
-
getResource
public EClass getResource()
- Specified by:
getResource
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Resource'.
- See Also:
Resource
- Generated class or method.
-
getResource_Name
public EAttribute getResource_Name()
- Specified by:
getResource_Name
in interfaceResourceModelPackage
- Returns:
- the meta object for the attribute 'Name'.
- See Also:
Resource.getName()
,ResourceModelPackage.getResource()
- Generated class or method.
-
getResource_NumberOfServers
public EAttribute getResource_NumberOfServers()
- Specified by:
getResource_NumberOfServers
in interfaceResourceModelPackage
- Returns:
- the meta object for the attribute 'Number Of Servers'.
- See Also:
Resource.getNumberOfServers()
,ResourceModelPackage.getResource()
- Generated class or method.
-
getPassiveResource
public EClass getPassiveResource()
- Specified by:
getPassiveResource
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Passive Resource'.
- See Also:
PassiveResource
- Generated class or method.
-
getContentionResource
public EClass getContentionResource()
- Specified by:
getContentionResource
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Contention Resource'.
- See Also:
ContentionResource
- Generated class or method.
-
getContentionResource_NumReplicas
public EAttribute getContentionResource_NumReplicas()
- Specified by:
getContentionResource_NumReplicas
in interfaceResourceModelPackage
- Returns:
- the meta object for the attribute 'Num Replicas'.
- See Also:
ContentionResource.getNumReplicas()
,ResourceModelPackage.getContentionResource()
- Generated class or method.
-
getProcessingResource
public EClass getProcessingResource()
- Specified by:
getProcessingResource
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Processing Resource'.
- See Also:
ProcessingResource
- Generated class or method.
-
getDelayResource
public EClass getDelayResource()
- Specified by:
getDelayResource
in interfaceResourceModelPackage
- Returns:
- the meta object for class 'Delay Resource'.
- See Also:
DelayResource
- Generated class or method.
-
getResourceModelFactory
public ResourceModelFactory getResourceModelFactory()
- Specified by:
getResourceModelFactory
in interfaceResourceModelPackage
- 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.
-
-