Interface ConversionDivisor
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,Notifier
- All Known Implementing Classes:
ConversionDivisorImpl
public interface ConversionDivisor extends de.uka.ipd.sdq.identifier.Identifier
A representation of the model object 'Conversion Divisor'.The following features are supported:
- See Also:
MappingPackage.getConversionDivisor()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.palladiosimulator.metricspec.MetricSetDescription
getResultingMetric()
Returns the value of the 'Resulting Metric' reference.javax.measure.Measure<Double,javax.measure.quantity.Quantity>
getValue()
Returns the value of the 'Value' attribute.String
getValueString()
Returns the value of the 'Value String' attribute.boolean
isSetValue()
Returns whether the value of the 'Value
' attribute is set.void
setResultingMetric(org.palladiosimulator.metricspec.MetricSetDescription value)
Sets the value of the 'Resulting Metric
' reference.void
setValueString(String value)
Sets the value of the 'Value String
' attribute.-
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.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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getValue
javax.measure.Measure<Double,javax.measure.quantity.Quantity> getValue()
Returns the value of the 'Value' attribute.If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Value' attribute.
- See Also:
isSetValue()
,MappingPackage.getConversionDivisor_Value()
- Generated class or method.
- EMF model class or method.
- unsettable="true" dataType="org.palladiosimulator.edp2.models.ExperimentData.EJSMeasure
" required="true" transient="true" changeable="false" volatile="true" derived="true" annotation="http://www.eclipse.org/emf/2002/GenModel get='org.jscience.physics.amount.Amount amount = org.jscience.physics.amount.Amount.valueOf(this.getValueString());\r\nreturn javax.measure.Measure.valueOf(amount.getEstimatedValue(), amount.getUnit());'"
-
isSetValue
boolean isSetValue()
Returns whether the value of the 'Value
' attribute is set.- Returns:
- whether the value of the 'Value' attribute is set.
- See Also:
getValue()
- Generated class or method.
-
getValueString
String getValueString()
Returns the value of the 'Value String' attribute.If the meaning of the 'Value String' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Value String' attribute.
- See Also:
setValueString(String)
,MappingPackage.getConversionDivisor_ValueString()
- Generated class or method.
- EMF model class or method.
- required="true"
-
setValueString
void setValueString(String value)
Sets the value of the 'Value String
' attribute.- Parameters:
value
- the new value of the 'Value String' attribute.- See Also:
getValueString()
- Generated class or method.
-
getResultingMetric
org.palladiosimulator.metricspec.MetricSetDescription getResultingMetric()
Returns the value of the 'Resulting Metric' reference.If the meaning of the 'Resulting Metric' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Resulting Metric' reference.
- See Also:
setResultingMetric(MetricSetDescription)
,MappingPackage.getConversionDivisor_ResultingMetric()
- Generated class or method.
- EMF model class or method.
- required="true"
-
setResultingMetric
void setResultingMetric(org.palladiosimulator.metricspec.MetricSetDescription value)
Sets the value of the 'Resulting Metric
' reference.- Parameters:
value
- the new value of the 'Resulting Metric' reference.- See Also:
getResultingMetric()
- Generated class or method.
-
-