public final class IndicatorReportAccessor extends Object
Indicator report table and the Indicator value table from IndicatorExecutionContext.| Modifier and Type | Method and Description |
|---|---|
com.onwbp.adaptation.PrimaryKey |
getPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext executionContext)
Returns the primary key of the latest corresponding record in the
Indicator report table. |
Map<Integer,com.onwbp.adaptation.PrimaryKey> |
getPrimaryKeysOfLatestIndicatorValues(com.onwbp.adaptation.PrimaryKey indicatorReportPK,
IndicatorReport indicatorReport,
int sequence)
Returns the mapping between the order (
IndicatorValue.getOrder()) and the latest corresponding records in the Indicator value table. |
public final com.onwbp.adaptation.PrimaryKey getPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext executionContext)
Indicator report table.executionContext - IndicatorExecutionContextIndicatorDefinitionContext.saveLastValueOnlyOnReportingTable()public final Map<Integer,com.onwbp.adaptation.PrimaryKey> getPrimaryKeysOfLatestIndicatorValues(com.onwbp.adaptation.PrimaryKey indicatorReportPK, IndicatorReport indicatorReport, int sequence) throws DQIdException
IndicatorValue.getOrder()) and the latest corresponding records in the Indicator value table.indicatorReportPK - Result of the getPrimaryKeyOrNullOfLatestRecord(IndicatorExecutionContext) method.indicatorReport - IndicatorReportsequence - IndicatorValue.getSequence()DQIdException - If the Indicator report record is not found.IndicatorDefinitionContext.saveLastValueOnlyInIndicatorReportTable()