Class ExponentialSmoothingImpl
- 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.monitorrepository.map.impl.MapperImpl
-
- org.palladiosimulator.monitorrepository.map.impl.ExponentialSmoothingImpl
-
- 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
,ExponentialSmoothing
,Mapper
public class ExponentialSmoothingImpl extends MapperImpl implements ExponentialSmoothing
An implementation of the model object ' Exponential Smoothing'.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 javax.measure.Measure<Double,javax.measure.quantity.Quantity>
smoothedValue
The cached value of the 'Smoothed Value
' attribute.protected static double
SMOOTHING_FACTOR_EDEFAULT
The default value of the 'Smoothing Factor
' attribute.protected double
smoothingFactor
The cached value of the 'Smoothing Factor
' attribute.-
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
ExponentialSmoothingImpl()
-
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)
UnaryOperator<org.palladiosimulator.measurementframework.MeasuringValue>
getMappingFunction()
javax.measure.Measure<Double,javax.measure.quantity.Quantity>
getSmoothedValue()
double
getSmoothingFactor()
boolean
isMetricNumericalBaseMetric(DiagnosticChain chain, Map<?,?> context)
Validator method to assert that the metric description of the associated measurement specification is aNumericalBaseMetricDescription
.void
setSmoothedValue(javax.measure.Measure<Double,javax.measure.quantity.Quantity> newSmoothedValue)
void
setSmoothingFactor(double newSmoothingFactor)
String
toString()
-
Methods inherited from class org.palladiosimulator.monitorrepository.map.impl.MapperImpl
basicSetMap, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getMap, setMap
-
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, 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, 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
-
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, 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 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 Detail
-
SMOOTHING_FACTOR_EDEFAULT
protected static final double SMOOTHING_FACTOR_EDEFAULT
The default value of the 'Smoothing Factor
' attribute.- See Also:
getSmoothingFactor()
, Constant Field Values- Generated class or method.
- Ordered collection.
-
smoothingFactor
protected double smoothingFactor
The cached value of the 'Smoothing Factor
' attribute.- See Also:
getSmoothingFactor()
- Generated class or method.
- Ordered collection.
-
smoothedValue
protected javax.measure.Measure<Double,javax.measure.quantity.Quantity> smoothedValue
The cached value of the 'Smoothed Value
' attribute.- See Also:
getSmoothedValue()
- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClass
in classMapperImpl
- Generated class or method.
-
getSmoothingFactor
public double getSmoothingFactor()
- Specified by:
getSmoothingFactor
in interfaceExponentialSmoothing
- Returns:
- the value of the 'Smoothing Factor' attribute.
- See Also:
ExponentialSmoothing.setSmoothingFactor(double)
,MapPackage.getExponentialSmoothing_SmoothingFactor()
- Generated class or method.
-
setSmoothingFactor
public void setSmoothingFactor(double newSmoothingFactor)
- Specified by:
setSmoothingFactor
in interfaceExponentialSmoothing
- Parameters:
newSmoothingFactor
- the new value of the 'Smoothing Factor' attribute.- See Also:
ExponentialSmoothing.getSmoothingFactor()
- Generated class or method.
-
getSmoothedValue
public javax.measure.Measure<Double,javax.measure.quantity.Quantity> getSmoothedValue()
- Specified by:
getSmoothedValue
in interfaceExponentialSmoothing
- Returns:
- the value of the 'Smoothed Value' attribute.
- See Also:
ExponentialSmoothing.setSmoothedValue(Measure)
,MapPackage.getExponentialSmoothing_SmoothedValue()
- Generated class or method.
-
setSmoothedValue
public void setSmoothedValue(javax.measure.Measure<Double,javax.measure.quantity.Quantity> newSmoothedValue)
- Specified by:
setSmoothedValue
in interfaceExponentialSmoothing
- Parameters:
newSmoothedValue
- the new value of the 'Smoothed Value' attribute.- See Also:
ExponentialSmoothing.getSmoothedValue()
- Generated class or method.
-
getMappingFunction
public UnaryOperator<org.palladiosimulator.measurementframework.MeasuringValue> getMappingFunction()
- Specified by:
getMappingFunction
in interfaceExponentialSmoothing
- Specified by:
getMappingFunction
in interfaceMapper
- Overrides:
getMappingFunction
in classMapperImpl
- Generated class or method.
-
isMetricNumericalBaseMetric
public boolean isMetricNumericalBaseMetric(DiagnosticChain chain, Map<?,?> context)
Validator method to assert that the metric description of the associated measurement specification is aNumericalBaseMetricDescription
.- Specified by:
isMetricNumericalBaseMetric
in interfaceExponentialSmoothing
- Generated class or method.
- NOT
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceInternalEObject
- Overrides:
eGet
in classMapperImpl
- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)
- Specified by:
eSet
in interfaceInternalEObject
- Overrides:
eSet
in classMapperImpl
- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceInternalEObject
- Overrides:
eUnset
in classMapperImpl
- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceInternalEObject
- Overrides:
eIsSet
in classMapperImpl
- Generated class or method.
-
toString
public String toString()
- Overrides:
toString
in classorg.eclipse.emf.internal.cdo.CDOObjectImpl
- Generated class or method.
-
-