Package com.orchestranetworks.addon.dqid
Class IntervalValue
- java.lang.Object
-
- com.orchestranetworks.addon.dqid.IndicatorValue
-
- com.orchestranetworks.addon.dqid.BigDecimalValue
-
- com.orchestranetworks.addon.dqid.IntervalValue
-
public final class IntervalValue extends BigDecimalValue
Represents an interval outcome of indicator execution.- Since:
- 1.4.0
-
-
Constructor Summary
Constructors Constructor Description IntervalValue(java.math.BigDecimal result, int sequence, int order)
The default interval type isIntervalType.DAY_HOUR
.IntervalValue(java.math.BigDecimal result, int sequence, int order, IntervalType intervalType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
formatDataType()
Returns the string representation of the data type.java.lang.String
formatValue()
Returns the string representation of the raw value.IntervalType
getIntervalType()
Returns the interval type of this indicator value.-
Methods inherited from class com.orchestranetworks.addon.dqid.BigDecimalValue
getValue
-
Methods inherited from class com.orchestranetworks.addon.dqid.IndicatorValue
getBigDataReportFieldsValues, getFlatReportingFieldValues, getGroupingValue, getOrder, getSequence, setBigDataReportField, setFlatDataFieldValue, setGroupingValue
-
-
-
-
Constructor Detail
-
IntervalValue
public IntervalValue(java.math.BigDecimal result, int sequence, int order, IntervalType intervalType)
- See Also:
IntervalType
-
IntervalValue
public IntervalValue(java.math.BigDecimal result, int sequence, int order)
The default interval type isIntervalType.DAY_HOUR
.- See Also:
IntervalType
-
-
Method Detail
-
formatValue
public java.lang.String formatValue()
Description copied from class:IndicatorValue
Returns the string representation of the raw value.- Overrides:
formatValue
in classBigDecimalValue
-
formatDataType
public java.lang.String formatDataType()
Description copied from class:IndicatorValue
Returns the string representation of the data type.- Overrides:
formatDataType
in classBigDecimalValue
-
getIntervalType
public IntervalType getIntervalType()
Returns the interval type of this indicator value.
-
-