Class ResourceDescriptionImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- de.uka.ipd.sdq.pcm.resourcerepository.impl.ResourceDescriptionImpl
-
- All Implemented Interfaces:
ResourceDescription
,Notifier
,EObject
,InternalEObject
public class ResourceDescriptionImpl extends EObjectImpl implements ResourceDescription
An implementation of the model object ' Resource Description'.The following features are implemented:
- Generated class or method.
-
-
Nested Class Summary
-
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.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected FixedProcessingResourceCost
fixedProcessingResourceCost_ResourceDescription
The cached value of the 'Fixed Processing Resource Cost Resource Description
' containment reference.protected org.palladiosimulator.pcm.resourceenvironment.ResourceContainer
processingResourceSpecification_ResourceDescription
The cached value of the 'Processing Resource Specification Resource Description
' containment reference.protected static int
RESOURCES_CAN_BE_USED_INDIVIDUALLY_EDEFAULT
The default value of the 'Resources Can Be Used Individually
' attribute.protected int
resourcesCanBeUsedIndividually
The cached value of the 'Resources Can Be Used Individually
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
-
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.InternalEObject
EOPPOSITE_FEATURE_BASE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceDescriptionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationChain
basicSetFixedProcessingResourceCost_ResourceDescription(FixedProcessingResourceCost newFixedProcessingResourceCost_ResourceDescription, NotificationChain msgs)
NotificationChain
basicSetProcessingResourceSpecification_ResourceDescription(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer newProcessingResourceSpecification_ResourceDescription, NotificationChain msgs)
boolean
CostAndResourceMustMatch(DiagnosticChain diagnostics, Map<Object,Object> context)
Object
eGet(int featureID, boolean resolve, boolean coreType)
NotificationChain
eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
FixedProcessingResourceCost
getFixedProcessingResourceCost_ResourceDescription()
org.palladiosimulator.pcm.resourceenvironment.ResourceContainer
getProcessingResourceSpecification_ResourceDescription()
int
getResourcesCanBeUsedIndividually()
void
setFixedProcessingResourceCost_ResourceDescription(FixedProcessingResourceCost newFixedProcessingResourceCost_ResourceDescription)
void
setProcessingResourceSpecification_ResourceDescription(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer newProcessingResourceSpecification_ResourceDescription)
void
setResourcesCanBeUsedIndividually(int newResourcesCanBeUsedIndividually)
String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, 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.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
fixedProcessingResourceCost_ResourceDescription
protected FixedProcessingResourceCost fixedProcessingResourceCost_ResourceDescription
The cached value of the 'Fixed Processing Resource Cost Resource Description
' containment reference.- See Also:
getFixedProcessingResourceCost_ResourceDescription()
- Generated class or method.
- Ordered collection.
-
processingResourceSpecification_ResourceDescription
protected org.palladiosimulator.pcm.resourceenvironment.ResourceContainer processingResourceSpecification_ResourceDescription
The cached value of the 'Processing Resource Specification Resource Description
' containment reference.- See Also:
getProcessingResourceSpecification_ResourceDescription()
- Generated class or method.
- Ordered collection.
-
RESOURCES_CAN_BE_USED_INDIVIDUALLY_EDEFAULT
protected static final int RESOURCES_CAN_BE_USED_INDIVIDUALLY_EDEFAULT
The default value of the 'Resources Can Be Used Individually
' attribute.- See Also:
getResourcesCanBeUsedIndividually()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
resourcesCanBeUsedIndividually
protected int resourcesCanBeUsedIndividually
The cached value of the 'Resources Can Be Used Individually
' attribute.- See Also:
getResourcesCanBeUsedIndividually()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classEObjectImpl
- Generated class or method.
-
getFixedProcessingResourceCost_ResourceDescription
public FixedProcessingResourceCost getFixedProcessingResourceCost_ResourceDescription()
- Specified by:
getFixedProcessingResourceCost_ResourceDescription
in interfaceResourceDescription
- Returns:
- the value of the 'Fixed Processing Resource Cost Resource Description' containment reference.
- See Also:
ResourceDescription.setFixedProcessingResourceCost_ResourceDescription(FixedProcessingResourceCost)
,resourcerepositoryPackage.getResourceDescription_FixedProcessingResourceCost_ResourceDescription()
- Generated class or method.
-
basicSetFixedProcessingResourceCost_ResourceDescription
public NotificationChain basicSetFixedProcessingResourceCost_ResourceDescription(FixedProcessingResourceCost newFixedProcessingResourceCost_ResourceDescription, NotificationChain msgs)
- Generated class or method.
-
setFixedProcessingResourceCost_ResourceDescription
public void setFixedProcessingResourceCost_ResourceDescription(FixedProcessingResourceCost newFixedProcessingResourceCost_ResourceDescription)
- Specified by:
setFixedProcessingResourceCost_ResourceDescription
in interfaceResourceDescription
- Parameters:
newFixedProcessingResourceCost_ResourceDescription
- the new value of the 'Fixed Processing Resource Cost Resource Description ' containment reference.- See Also:
ResourceDescription.getFixedProcessingResourceCost_ResourceDescription()
- Generated class or method.
-
getProcessingResourceSpecification_ResourceDescription
public org.palladiosimulator.pcm.resourceenvironment.ResourceContainer getProcessingResourceSpecification_ResourceDescription()
- Specified by:
getProcessingResourceSpecification_ResourceDescription
in interfaceResourceDescription
- Returns:
- the value of the 'Processing Resource Specification Resource Description' containment reference.
- See Also:
ResourceDescription.setProcessingResourceSpecification_ResourceDescription(ResourceContainer)
,resourcerepositoryPackage.getResourceDescription_ProcessingResourceSpecification_ResourceDescription()
- Generated class or method.
-
basicSetProcessingResourceSpecification_ResourceDescription
public NotificationChain basicSetProcessingResourceSpecification_ResourceDescription(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer newProcessingResourceSpecification_ResourceDescription, NotificationChain msgs)
- Generated class or method.
-
setProcessingResourceSpecification_ResourceDescription
public void setProcessingResourceSpecification_ResourceDescription(org.palladiosimulator.pcm.resourceenvironment.ResourceContainer newProcessingResourceSpecification_ResourceDescription)
- Specified by:
setProcessingResourceSpecification_ResourceDescription
in interfaceResourceDescription
- Parameters:
newProcessingResourceSpecification_ResourceDescription
- the new value of the ' Processing Resource Specification Resource Description' containment reference.- See Also:
ResourceDescription.getProcessingResourceSpecification_ResourceDescription()
- Generated class or method.
-
getResourcesCanBeUsedIndividually
public int getResourcesCanBeUsedIndividually()
- Specified by:
getResourcesCanBeUsedIndividually
in interfaceResourceDescription
- Returns:
- the value of the 'Resources Can Be Used Individually' attribute.
- See Also:
ResourceDescription.setResourcesCanBeUsedIndividually(int)
,resourcerepositoryPackage.getResourceDescription_ResourcesCanBeUsedIndividually()
- Generated class or method.
-
setResourcesCanBeUsedIndividually
public void setResourcesCanBeUsedIndividually(int newResourcesCanBeUsedIndividually)
- Specified by:
setResourcesCanBeUsedIndividually
in interfaceResourceDescription
- Parameters:
newResourcesCanBeUsedIndividually
- the new value of the 'Resources Can Be Used Individually' attribute.- See Also:
ResourceDescription.getResourcesCanBeUsedIndividually()
- Generated class or method.
-
CostAndResourceMustMatch
public boolean CostAndResourceMustMatch(DiagnosticChain diagnostics, Map<Object,Object> context)
- Specified by:
CostAndResourceMustMatch
in interfaceResourceDescription
- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
- Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classBasicEObjectImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classBasicEObjectImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classBasicEObjectImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classBasicEObjectImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classBasicEObjectImpl
- Generated class or method.
-
-