Package org.palladiosimulator.metricspec
Interface NumericalBaseMetricDescription
- All Superinterfaces:
BaseMetricDescription
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,Description
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,MetricDescription
,Notifier
- All Known Implementing Classes:
NumericalBaseMetricDescriptionImpl
A representation of the model object 'Numerical Base Metric Description'.
self.captureType <> CaptureType::Identifier
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionjavax.measure.unit.Unit<javax.measure.quantity.Quantity>
Returns the value of the 'Default Unit' attribute.Returns the value of the 'Persistence Kind' attribute.void
setDefaultUnit
(javax.measure.unit.Unit<javax.measure.quantity.Quantity> value) Sets the value of the 'Default Unit
' attribute.void
Sets the value of the 'Persistence Kind
' attribute.Methods inherited from interface org.palladiosimulator.metricspec.BaseMetricDescription
getCaptureType, getDataType, getScale, getScopeOfValidity, setCaptureType, setDataType, setScale, setScopeOfValidity
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
Methods inherited from interface org.palladiosimulator.metricspec.Description
getName, getTextualDescription, setName, setTextualDescription
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.palladiosimulator.metricspec.MetricDescription
getRepository, setRepository
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getDefaultUnit
javax.measure.unit.Unit<javax.measure.quantity.Quantity> getDefaultUnit()Returns the value of the 'Default Unit' attribute. The default unit to use for the measurements. Please note that there is no unit for NominalMeasurements.- Returns:
- the value of the 'Default Unit' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- dataType="org.palladiosimulator.metricspec.EJSUnit<org.palladiosimulator.metricspec.IJSQuantity>" ordered="false"
-
setDefaultUnit
void setDefaultUnit(javax.measure.unit.Unit<javax.measure.quantity.Quantity> value) Sets the value of the 'Default Unit
' attribute.- Parameters:
value
- the new value of the 'Default Unit' attribute.- See Also:
- Generated class or method.
-
getPersistenceKind
PersistenceKindOptions getPersistenceKind()Returns the value of the 'Persistence Kind' attribute. The literals are from the enumerationPersistenceKindOptions
.- Returns:
- the value of the 'Persistence Kind' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setPersistenceKind
Sets the value of the 'Persistence Kind
' attribute.- Parameters:
value
- the new value of the 'Persistence Kind' attribute.- See Also:
- Generated class or method.
-