Interface FixedIntervals
- 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:
FixedIntervalsImpl
public interface FixedIntervals
extends de.uka.ipd.sdq.identifier.Identifier
A representation of the model object 'Fixed Intervals'.
Describes the different aggregation intervals in detail. Includes start and end of each interval as well as two special intervals to reflect outliers. Intervals are not allowed to contain no value, there has to be a default. The default value is also saved to disc. The upper bound can be calculated as follows: upperBound = lowerBound + width * numberOfIntervals. The lower bound belongs to the first regular interval whereas the upper bound is the first value which is associated with the upper outlier interval.
The data structure is build up as follows for n=numberOfIntervals different requested measurement intervals:
First interval 'lower outlier interval': All measurements in the interval (-\infty, lowerBound).
Second to n-th interval 'regular interval i': All measurements in the interval [lowerBound+width*(i-1), lowerBound+width*i).
n-th interval 'upper outlier interval': All measurements in the interval [lowerBound+width*n, \infty) = [upperBound+width*n, \infty).
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Aggregated Measurements' container reference.javax.measure.Measure
Returns the value of the 'Lower Bound' attribute.long
Returns the value of the 'Number Of Intervals' attribute.javax.measure.Measure
getWidth()
Returns the value of the 'Width' attribute.void
Sets the value of the 'Aggregated Measurements
' container reference.void
setLowerBound
(javax.measure.Measure value) Sets the value of the 'Lower Bound
' attribute.void
setNumberOfIntervals
(long value) Sets the value of the 'Number Of Intervals
' attribute.void
setWidth
(javax.measure.Measure value) Sets the value of the 'Width
' 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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getLowerBound
javax.measure.Measure getLowerBound()Returns the value of the 'Lower Bound' attribute.- Returns:
- the value of the 'Lower Bound' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- dataType="org.palladiosimulator.edp2.models.ExperimentData.EJSMeasure" required="true" ordered="false"
-
setLowerBound
void setLowerBound(javax.measure.Measure value) Sets the value of the 'Lower Bound
' attribute.- Parameters:
value
- the new value of the 'Lower Bound' attribute.- See Also:
- Generated class or method.
-
getWidth
javax.measure.Measure getWidth()Returns the value of the 'Width' attribute.- Returns:
- the value of the 'Width' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- dataType="org.palladiosimulator.edp2.models.ExperimentData.EJSMeasure" required="true" ordered="false"
-
setWidth
void setWidth(javax.measure.Measure value) Sets the value of the 'Width
' attribute.- Parameters:
value
- the new value of the 'Width' attribute.- See Also:
- Generated class or method.
-
getNumberOfIntervals
long getNumberOfIntervals()Returns the value of the 'Number Of Intervals' attribute.- Returns:
- the value of the 'Number Of Intervals' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setNumberOfIntervals
void setNumberOfIntervals(long value) Sets the value of the 'Number Of Intervals
' attribute.- Parameters:
value
- the new value of the 'Number Of Intervals' attribute.- See Also:
- Generated class or method.
-
getAggregatedMeasurements
FixedWidthAggregatedMeasurements getAggregatedMeasurements()Returns the value of the 'Aggregated Measurements' container reference. It is bidirectional and its opposite is 'Intervals
'.- Returns:
- the value of the 'Aggregated Measurements' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="intervals" required="true" transient="false" ordered="false"
-
setAggregatedMeasurements
Sets the value of the 'Aggregated Measurements
' container reference.- Parameters:
value
- the new value of the 'Aggregated Measurements' container reference.- See Also:
- Generated class or method.
-