Class UtilisationResultImpl
- 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
-
- org.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
-
- org.palladiosimulator.analyzer.resultdecorator.resourceenvironmentdecorator.impl.UtilisationResultImpl
-
- All Implemented Interfaces:
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
,UtilisationResult
,org.palladiosimulator.pcm.core.entity.NamedElement
- Direct Known Subclasses:
ActiveResourceUtilisationResultImpl
,PassiveResourceResultImpl
public abstract class UtilisationResultImpl extends org.palladiosimulator.pcm.core.entity.impl.NamedElementImpl implements UtilisationResult
An implementation of the model object 'Utilisation Result '.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
Fields Modifier and Type Field Description protected static double
AVERAGE_QUEUE_LENGTH_EDEFAULT
The default value of the 'Average Queue Length
' attribute.protected static double
AVERAGE_WAIT_TIME_EDEFAULT
The default value of the 'Average Wait Time
' attribute.protected double
averageQueueLength
The cached value of the 'Average Queue Length
' attribute.protected double
averageWaitTime
The cached value of the 'Average Wait Time
' attribute.protected static int
MAX_QUEUE_LENGTH_EDEFAULT
The default value of the 'Max Queue Length
' attribute.protected int
maxQueueLength
The cached value of the 'Max Queue Length
' attribute.protected static double
NORMALISED_RESOURCE_UTILISATION_EDEFAULT
The default value of the 'Normalised Resource Utilisation
' attribute.protected static double
NORMALISED_WAIT_TIME_EDEFAULT
The default value of the 'Normalised Wait Time
' attribute.protected double
normalisedResourceUtilisation
The cached value of the 'Normalised Resource Utilisation
' attribute.protected double
normalisedWaitTime
The cached value of the 'Normalised Wait Time
' attribute.protected static double
RESOURCE_UTILISATION_EDEFAULT
The default value of the 'Resource Utilisation
' attribute.protected double
resourceUtilisation
The cached value of the 'Resource Utilisation
' attribute.-
Fields inherited from class org.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
copyright, ENTITY_NAME_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
Constructors Modifier Constructor Description protected
UtilisationResultImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, Object newValue)
protected EClass
eStaticClass()
void
eUnset(int featureID)
double
getAverageQueueLength()
double
getAverageWaitTime()
int
getMaxQueueLength()
double
getNormalisedResourceUtilisation()
double
getNormalisedWaitTime()
double
getResourceUtilisation()
void
setAverageQueueLength(double newAverageQueueLength)
void
setAverageWaitTime(double newAverageWaitTime)
void
setMaxQueueLength(int newMaxQueueLength)
void
setNormalisedResourceUtilisation(double newNormalisedResourceUtilisation)
void
setNormalisedWaitTime(double newNormalisedWaitTime)
void
setResourceUtilisation(double newResourceUtilisation)
String
toString()
-
Methods inherited from class org.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
eStaticFeatureCount, getEntityName, setEntityName
-
Methods inherited from class org.eclipse.emf.internal.cdo.CDOObjectImpl
cdoClassInfo, cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInternalDynamicFeature, cdoInternalInstance, cdoInternalPostAttach, cdoInternalPostDetach, cdoInternalPostInvalidate, cdoInternalPostLoad, cdoInternalPostRollback, cdoInternalPreCommit, cdoInternalPreLoad, cdoInternalSetID, cdoInternalSetResource, cdoInternalSetRevision, cdoInternalSetState, cdoInternalSetView, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption, createFeatureMap, createList, createLock, createMap, createUnorderedList, dynamicGet, dynamicSet, dynamicUnset, eAdapterAdded, eAdapterRemoved, eBasicAdapterListeners, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainer, eBasicSetSettings, eBasicSettings, eClass, eContainerAdapterArray, eContainerFeatureID, eDirectResource, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicIsSet, eHasSettings, eInternalContainer, eInternalResource, eIsCaching, equals, eSetClass, eSetDirectResource, eSetResource, eSettings, eStore, getLockState, hashCode, instanceToRevisionFeature, revisionToInstanceFeature
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEStoreEObjectImpl
eBasicContainerFeatureID, eBasicInternalContainer, eDerivedStructuralFeatureID
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
eAdapters, 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, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, 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 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.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
NORMALISED_RESOURCE_UTILISATION_EDEFAULT
protected static final double NORMALISED_RESOURCE_UTILISATION_EDEFAULT
The default value of the 'Normalised Resource Utilisation
' attribute.- See Also:
getNormalisedResourceUtilisation()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
normalisedResourceUtilisation
protected double normalisedResourceUtilisation
The cached value of the 'Normalised Resource Utilisation
' attribute.- See Also:
getNormalisedResourceUtilisation()
- Generated class or method.
- Ordered collection.
-
NORMALISED_WAIT_TIME_EDEFAULT
protected static final double NORMALISED_WAIT_TIME_EDEFAULT
The default value of the 'Normalised Wait Time
' attribute.- See Also:
getNormalisedWaitTime()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
normalisedWaitTime
protected double normalisedWaitTime
The cached value of the 'Normalised Wait Time
' attribute.- See Also:
getNormalisedWaitTime()
- Generated class or method.
- Ordered collection.
-
RESOURCE_UTILISATION_EDEFAULT
protected static final double RESOURCE_UTILISATION_EDEFAULT
The default value of the 'Resource Utilisation
' attribute.- See Also:
getResourceUtilisation()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
resourceUtilisation
protected double resourceUtilisation
The cached value of the 'Resource Utilisation
' attribute.- See Also:
getResourceUtilisation()
- Generated class or method.
- Ordered collection.
-
AVERAGE_WAIT_TIME_EDEFAULT
protected static final double AVERAGE_WAIT_TIME_EDEFAULT
The default value of the 'Average Wait Time
' attribute.- See Also:
getAverageWaitTime()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
averageWaitTime
protected double averageWaitTime
The cached value of the 'Average Wait Time
' attribute.- See Also:
getAverageWaitTime()
- Generated class or method.
- Ordered collection.
-
AVERAGE_QUEUE_LENGTH_EDEFAULT
protected static final double AVERAGE_QUEUE_LENGTH_EDEFAULT
The default value of the 'Average Queue Length
' attribute.- See Also:
getAverageQueueLength()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
averageQueueLength
protected double averageQueueLength
The cached value of the 'Average Queue Length
' attribute.- See Also:
getAverageQueueLength()
- Generated class or method.
- Ordered collection.
-
MAX_QUEUE_LENGTH_EDEFAULT
protected static final int MAX_QUEUE_LENGTH_EDEFAULT
The default value of the 'Max Queue Length
' attribute.- See Also:
getMaxQueueLength()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
maxQueueLength
protected int maxQueueLength
The cached value of the 'Max Queue Length
' attribute.- See Also:
getMaxQueueLength()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
- Generated class or method.
-
getNormalisedResourceUtilisation
public double getNormalisedResourceUtilisation()
- Specified by:
getNormalisedResourceUtilisation
in interfaceUtilisationResult
- Returns:
- the value of the 'Normalised Resource Utilisation' attribute.
- See Also:
UtilisationResult.setNormalisedResourceUtilisation(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_NormalisedResourceUtilisation()
- Generated class or method.
-
setNormalisedResourceUtilisation
public void setNormalisedResourceUtilisation(double newNormalisedResourceUtilisation)
- Specified by:
setNormalisedResourceUtilisation
in interfaceUtilisationResult
- Parameters:
newNormalisedResourceUtilisation
- the new value of the 'Normalised Resource Utilisation' attribute.- See Also:
UtilisationResult.getNormalisedResourceUtilisation()
- Generated class or method.
-
getNormalisedWaitTime
public double getNormalisedWaitTime()
- Specified by:
getNormalisedWaitTime
in interfaceUtilisationResult
- Returns:
- the value of the 'Normalised Wait Time' attribute.
- See Also:
UtilisationResult.setNormalisedWaitTime(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_NormalisedWaitTime()
- Generated class or method.
-
setNormalisedWaitTime
public void setNormalisedWaitTime(double newNormalisedWaitTime)
- Specified by:
setNormalisedWaitTime
in interfaceUtilisationResult
- Parameters:
newNormalisedWaitTime
- the new value of the 'Normalised Wait Time' attribute.- See Also:
UtilisationResult.getNormalisedWaitTime()
- Generated class or method.
-
getResourceUtilisation
public double getResourceUtilisation()
- Specified by:
getResourceUtilisation
in interfaceUtilisationResult
- Returns:
- the value of the 'Resource Utilisation' attribute.
- See Also:
UtilisationResult.setResourceUtilisation(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_ResourceUtilisation()
- Generated class or method.
-
setResourceUtilisation
public void setResourceUtilisation(double newResourceUtilisation)
- Specified by:
setResourceUtilisation
in interfaceUtilisationResult
- Parameters:
newResourceUtilisation
- the new value of the 'Resource Utilisation' attribute.- See Also:
UtilisationResult.getResourceUtilisation()
- Generated class or method.
-
getAverageWaitTime
public double getAverageWaitTime()
- Specified by:
getAverageWaitTime
in interfaceUtilisationResult
- Returns:
- the value of the 'Average Wait Time' attribute.
- See Also:
UtilisationResult.setAverageWaitTime(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_AverageWaitTime()
- Generated class or method.
-
setAverageWaitTime
public void setAverageWaitTime(double newAverageWaitTime)
- Specified by:
setAverageWaitTime
in interfaceUtilisationResult
- Parameters:
newAverageWaitTime
- the new value of the 'Average Wait Time' attribute.- See Also:
UtilisationResult.getAverageWaitTime()
- Generated class or method.
-
getAverageQueueLength
public double getAverageQueueLength()
- Specified by:
getAverageQueueLength
in interfaceUtilisationResult
- Returns:
- the value of the 'Average Queue Length' attribute.
- See Also:
UtilisationResult.setAverageQueueLength(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_AverageQueueLength()
- Generated class or method.
-
setAverageQueueLength
public void setAverageQueueLength(double newAverageQueueLength)
- Specified by:
setAverageQueueLength
in interfaceUtilisationResult
- Parameters:
newAverageQueueLength
- the new value of the 'Average Queue Length' attribute.- See Also:
UtilisationResult.getAverageQueueLength()
- Generated class or method.
-
getMaxQueueLength
public int getMaxQueueLength()
- Specified by:
getMaxQueueLength
in interfaceUtilisationResult
- Returns:
- the value of the 'Max Queue Length' attribute.
- See Also:
UtilisationResult.setMaxQueueLength(int)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_MaxQueueLength()
- Generated class or method.
-
setMaxQueueLength
public void setMaxQueueLength(int newMaxQueueLength)
- Specified by:
setMaxQueueLength
in interfaceUtilisationResult
- Parameters:
newMaxQueueLength
- the new value of the 'Max Queue Length' attribute.- See Also:
UtilisationResult.getMaxQueueLength()
- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classorg.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classorg.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classorg.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classorg.palladiosimulator.pcm.core.entity.impl.NamedElementImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.internal.cdo.CDOObjectImpl
- Generated class or method.
-
-