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>smoothedValueThe cached value of the 'Smoothed Value' attribute.protected static doubleSMOOTHING_FACTOR_EDEFAULTThe default value of the 'Smoothing Factor' attribute.protected doublesmoothingFactorThe 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 protectedExponentialSmoothingImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected EClasseStaticClass()voideUnset(int featureID)UnaryOperator<org.palladiosimulator.measurementframework.MeasuringValue>getMappingFunction()javax.measure.Measure<Double,javax.measure.quantity.Quantity>getSmoothedValue()doublegetSmoothingFactor()booleanisMetricNumericalBaseMetric(DiagnosticChain chain, Map<?,?> context)Validator method to assert that the metric description of the associated measurement specification is aNumericalBaseMetricDescription.voidsetSmoothedValue(javax.measure.Measure<Double,javax.measure.quantity.Quantity> newSmoothedValue)voidsetSmoothingFactor(double newSmoothingFactor)StringtoString()-
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:
eStaticClassin classMapperImpl- Generated class or method.
-
getSmoothingFactor
public double getSmoothingFactor()
- Specified by:
getSmoothingFactorin 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:
setSmoothingFactorin 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:
getSmoothedValuein 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:
setSmoothedValuein 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:
getMappingFunctionin interfaceExponentialSmoothing- Specified by:
getMappingFunctionin interfaceMapper- Overrides:
getMappingFunctionin 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:
isMetricNumericalBaseMetricin interfaceExponentialSmoothing- Generated class or method.
- NOT
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classMapperImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classMapperImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classMapperImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classMapperImpl- Generated class or method.
-
toString
public String toString()
- Overrides:
toStringin classorg.eclipse.emf.internal.cdo.CDOObjectImpl- Generated class or method.
-
-