Class ProcessingResourceSpecificationImpl
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.MinimalEStoreEObjectImpl
org.eclipse.emf.internal.cdo.CDOObjectImpl
de.uka.ipd.sdq.identifier.impl.IdentifierImpl
org.palladiosimulator.pcm.resourceenvironment.impl.ProcessingResourceSpecificationImpl
- All Implemented Interfaces:
de.uka.ipd.sdq.identifier.Identifier
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.eclipse.emf.cdo.common.model.CDOPackageTypeRegistry.CDOObjectMarker
,Notifier
,EObject
,EStructuralFeature.Internal.DynamicValueHolder
,InternalEObject
,org.eclipse.emf.spi.cdo.InternalCDOLoadable
,org.eclipse.emf.spi.cdo.InternalCDOObject
,PCMBaseClass
,PCMClass
,ProcessingResourceSpecification
- Direct Known Subclasses:
HDDProcessingResourceSpecificationImpl
public class ProcessingResourceSpecificationImpl
extends de.uka.ipd.sdq.identifier.impl.IdentifierImpl
implements ProcessingResourceSpecification
An implementation of the model object 'Processing Resource Specification'.
The following features are implemented:
- Generated class or method.
-
Nested Class Summary
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.InternalEObject
InternalEObject.EStore
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
protected static final double
The default value of the 'MTTF
' attribute.protected static final double
The default value of the 'MTTR
' attribute.protected static final int
The default value of the 'Number Of Replicas
' attribute.protected static final boolean
The default value of the 'Required By Container
' attribute.Fields inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
ID_EDEFAULT
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbasicSetProcessingRate_ProcessingResourceSpecification
(PCMRandomVariable newProcessingRate_ProcessingResourceSpecification, NotificationChain msgs) basicSetResourceContainer_ProcessingResourceSpecification
(ResourceContainer newResourceContainer_ProcessingResourceSpecification, NotificationChain msgs) eGet
(int featureID, boolean resolve, boolean coreType) eInverseAdd
(InternalEObject otherEnd, int featureID, NotificationChain msgs) eInverseRemove
(InternalEObject otherEnd, int featureID, NotificationChain msgs) boolean
eIsSet
(int featureID) void
protected EClass
void
eUnset
(int featureID) double
getMTTF()
double
getMTTR()
int
boolean
void
setActiveResourceType_ActiveResourceSpecification
(ProcessingResourceType newActiveResourceType_ActiveResourceSpecification) void
setMTTF
(double newMTTF) void
setMTTR
(double newMTTR) void
setNumberOfReplicas
(int newNumberOfReplicas) void
setProcessingRate_ProcessingResourceSpecification
(PCMRandomVariable newProcessingRate_ProcessingResourceSpecification) void
setRequiredByContainer
(boolean newRequiredByContainer) void
setResourceContainer_ProcessingResourceSpecification
(ResourceContainer newResourceContainer_ProcessingResourceSpecification) void
setSchedulingPolicy
(SchedulingPolicy newSchedulingPolicy) Methods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
eStaticFeatureCount, getId, setId
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreAttach, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createOrderedList, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eAdapters, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, emfToString, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature, toString
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eContents, eCrossReferences, eDeliver, eIsProxy, eProperties, eProxyURI, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eUnset, eURIFragmentSegment, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoState, cdoWriteLock, cdoWriteOption
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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eDerivedOperationID, eDerivedStructuralFeatureID, eGet, eInverseAdd, eInverseRemove, eInvoke, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetProxyURI, eSetStore, eSetting, eURIFragmentSegment
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
MTTR_EDEFAULT
protected static final double MTTR_EDEFAULTThe default value of the 'MTTR
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
MTTF_EDEFAULT
protected static final double MTTF_EDEFAULTThe default value of the 'MTTF
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
REQUIRED_BY_CONTAINER_EDEFAULT
protected static final boolean REQUIRED_BY_CONTAINER_EDEFAULTThe default value of the 'Required By Container
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
NUMBER_OF_REPLICAS_EDEFAULT
protected static final int NUMBER_OF_REPLICAS_EDEFAULTThe default value of the 'Number Of Replicas
' attribute.- See Also:
- Generated class or method.
- Ordered collection.
-
-
Constructor Details
-
ProcessingResourceSpecificationImpl
protected ProcessingResourceSpecificationImpl()- Generated class or method.
-
-
Method Details
-
eStaticClass
- Overrides:
eStaticClass
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
getMTTR
public double getMTTR()- Specified by:
getMTTR
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'MTTR' attribute.
- See Also:
- Generated class or method.
-
setMTTR
public void setMTTR(double newMTTR) - Specified by:
setMTTR
in interfaceProcessingResourceSpecification
- Parameters:
newMTTR
- the new value of the 'MTTR' attribute.- See Also:
- Generated class or method.
-
getMTTF
public double getMTTF()- Specified by:
getMTTF
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'MTTF' attribute.
- See Also:
- Generated class or method.
-
setMTTF
public void setMTTF(double newMTTF) - Specified by:
setMTTF
in interfaceProcessingResourceSpecification
- Parameters:
newMTTF
- the new value of the 'MTTF' attribute.- See Also:
- Generated class or method.
-
isRequiredByContainer
public boolean isRequiredByContainer()- Specified by:
isRequiredByContainer
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'Required By Container' attribute.
- See Also:
- Generated class or method.
-
setRequiredByContainer
public void setRequiredByContainer(boolean newRequiredByContainer) - Specified by:
setRequiredByContainer
in interfaceProcessingResourceSpecification
- Parameters:
newRequiredByContainer
- the new value of the 'Required By Container' attribute.- See Also:
- Generated class or method.
-
getSchedulingPolicy
- Specified by:
getSchedulingPolicy
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'Scheduling Policy' reference.
- See Also:
- Generated class or method.
-
basicGetSchedulingPolicy
- Generated class or method.
-
setSchedulingPolicy
- Specified by:
setSchedulingPolicy
in interfaceProcessingResourceSpecification
- Parameters:
newSchedulingPolicy
- the new value of the 'Scheduling Policy' reference.- See Also:
- Generated class or method.
-
getActiveResourceType_ActiveResourceSpecification
- Specified by:
getActiveResourceType_ActiveResourceSpecification
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'Active Resource Type Active Resource Specification' reference.
- See Also:
- Generated class or method.
-
basicGetActiveResourceType_ActiveResourceSpecification
- Generated class or method.
-
setActiveResourceType_ActiveResourceSpecification
public void setActiveResourceType_ActiveResourceSpecification(ProcessingResourceType newActiveResourceType_ActiveResourceSpecification) - Specified by:
setActiveResourceType_ActiveResourceSpecification
in interfaceProcessingResourceSpecification
- Parameters:
newActiveResourceType_ActiveResourceSpecification
- the new value of the 'Active Resource Type Active Resource Specification' reference.- See Also:
- Generated class or method.
-
getProcessingRate_ProcessingResourceSpecification
- Specified by:
getProcessingRate_ProcessingResourceSpecification
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'Processing Rate Processing Resource Specification' containment reference.
- See Also:
- Generated class or method.
-
basicSetProcessingRate_ProcessingResourceSpecification
public NotificationChain basicSetProcessingRate_ProcessingResourceSpecification(PCMRandomVariable newProcessingRate_ProcessingResourceSpecification, NotificationChain msgs) - Generated class or method.
-
setProcessingRate_ProcessingResourceSpecification
public void setProcessingRate_ProcessingResourceSpecification(PCMRandomVariable newProcessingRate_ProcessingResourceSpecification) - Specified by:
setProcessingRate_ProcessingResourceSpecification
in interfaceProcessingResourceSpecification
- Parameters:
newProcessingRate_ProcessingResourceSpecification
- the new value of the 'Processing Rate Processing Resource Specification' containment reference.- See Also:
- Generated class or method.
-
getNumberOfReplicas
public int getNumberOfReplicas()- Specified by:
getNumberOfReplicas
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'Number Of Replicas' attribute.
- See Also:
- Generated class or method.
-
setNumberOfReplicas
public void setNumberOfReplicas(int newNumberOfReplicas) - Specified by:
setNumberOfReplicas
in interfaceProcessingResourceSpecification
- Parameters:
newNumberOfReplicas
- the new value of the 'Number Of Replicas' attribute.- See Also:
- Generated class or method.
-
getResourceContainer_ProcessingResourceSpecification
- Specified by:
getResourceContainer_ProcessingResourceSpecification
in interfaceProcessingResourceSpecification
- Returns:
- the value of the 'Resource Container Processing Resource Specification' container reference.
- See Also:
- Generated class or method.
-
basicSetResourceContainer_ProcessingResourceSpecification
public NotificationChain basicSetResourceContainer_ProcessingResourceSpecification(ResourceContainer newResourceContainer_ProcessingResourceSpecification, NotificationChain msgs) - Generated class or method.
-
setResourceContainer_ProcessingResourceSpecification
public void setResourceContainer_ProcessingResourceSpecification(ResourceContainer newResourceContainer_ProcessingResourceSpecification) - Specified by:
setResourceContainer_ProcessingResourceSpecification
in interfaceProcessingResourceSpecification
- Parameters:
newResourceContainer_ProcessingResourceSpecification
- the new value of the 'Resource Container Processing Resource Specification' container reference.- See Also:
- Generated class or method.
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) - Overrides:
eInverseAdd
in classBasicEObjectImpl
- Generated class or method.
-
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) - Overrides:
eInverseRemove
in classBasicEObjectImpl
- Generated class or method.
-
eBasicRemoveFromContainerFeature
- Overrides:
eBasicRemoveFromContainerFeature
in classBasicEObjectImpl
- Generated class or method.
-
eGet
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eSet
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classde.uka.ipd.sdq.identifier.impl.IdentifierImpl
- Generated class or method.
-