Interface IndicatorDefinitionContext


  • public interface IndicatorDefinitionContext
    Represents the configuration of an IndicatorDefinition.
    • Method Detail

      • getDECTablePath

        com.orchestranetworks.schema.Path getDECTablePath()
        Returns the configured table path.
      • getField

        com.orchestranetworks.schema.Path getField()
        Returns the configured field path.
      • getGroupPath

        com.orchestranetworks.schema.Path getGroupPath()
        Returns the configured group path.
        Since:
        1.2.0
      • getWorkflowKey

        com.orchestranetworks.workflow.PublishedProcessKey getWorkflowKey()
        Returns the configured workflow key.
      • getDECCode

        com.onwbp.adaptation.PrimaryKey getDECCode()
        Returns the primary key of the data element concept to execute.
      • getDECName

        com.onwbp.base.text.UserMessage getDECName()
        Returns the name of the data element concept to execute.
      • getDECBusinessCode

        java.lang.String getDECBusinessCode()
        Returns the business code of the data element concept to execute.
        Since:
        1.3.0
      • getDECType

        DECType getDECType()
        Returns the current DECType.
        Since:
        1.3.0
      • getIndicatorCode

        com.onwbp.adaptation.PrimaryKey getIndicatorCode()
        Returns the primary key of the Indicator to execute.
      • getIndicatorName

        com.onwbp.base.text.UserMessage getIndicatorName()
        Returns the name of the Indicator to execute.
      • getIndicatorDescription

        com.onwbp.base.text.UserMessage getIndicatorDescription()
        Returns the business description of the Indicator to execute.
        Since:
        1.5.2
      • getPublicationView

        java.lang.String getPublicationView()
        Returns the publication name of the Indicator view.
      • saveLastValueOnlyOnReportingTable

        @Deprecated
        boolean saveLastValueOnlyOnReportingTable()
        Deprecated.
        Returns the configured boolean value.

        If true, the Indicator report and the Indicator value table does not keep the history of indicator results.

      • saveLastValueOnlyInIndicatorReportTable

        boolean saveLastValueOnlyInIndicatorReportTable()
        Returns the configured boolean value.

        If true, the Indicator report and the Indicator value table does not keep the history of indicator results.

        Since:
        2.0.0
      • saveLastValueOnlyOnBigDataTable

        @Deprecated
        boolean saveLastValueOnlyOnBigDataTable()
        Deprecated.
        Since 2.0.0 use saveLastValueOnlyInFlatDataTable() instead.
        Returns the configured boolean value.

        If true, the Big data table does not keep the history of indicator results.

      • saveLastValueOnlyInFlatDataTable

        boolean saveLastValueOnlyInFlatDataTable()
        Returns the configured boolean value.

        If true, the Flat data table or the Big data table does not keep the history of indicator results.

        Since:
        2.0.0
      • getBespokeParameterValue

        java.lang.String getBespokeParameterValue​(java.lang.String key)
        Returns the value of the input parameter when ParameterDefinition.isList() returns false.
        Parameters:
        key - the input parameter key.
        See Also:
        ParameterDefinition
      • getBespokeParameterValues

        java.util.List<java.lang.String> getBespokeParameterValues​(java.lang.String key)
        Returns the values of the input parameter when ParameterDefinition.isList() returns true.
        Parameters:
        key - the input parameter key.
        Since:
        1.3.0
        See Also:
        ParameterDefinition
      • getOwnersEmails

        java.util.List<java.lang.String> getOwnersEmails()
        Returns e-mails for the configured owner.
      • getValidityStatus

        java.lang.String getValidityStatus()
        Returns the validity status.
      • getOperationIdentifier

        java.lang.String getOperationIdentifier()
        Returns the operation identifier.
        Since:
        1.4.0
      • getContextDataset

        com.onwbp.adaptation.Adaptation getContextDataset()
        Returns the data set configured for Indicator execution.

        Returns null if the execution environment is not a data set, table, group, or field.

        Since:
        1.5.2
      • getXPathPredicate

        java.lang.String getXPathPredicate()
        Returns the XPath predicate configured for Indicator execution.

        Returns an empty string if this is not an indicator at the table level.

        Since:
        2.0.0
      • isGroupBy

        java.lang.Boolean isGroupBy()
        Returns is group by.
        Since:
        2.3.0
      • getMaximumNumberOfGroups

        java.lang.Integer getMaximumNumberOfGroups()
        Returns maximum number of groups.
        Since:
        2.3.0
      • getGroupPriority

        java.lang.String getGroupPriority()
        Returns group priority.
        Since:
        2.3.0
      • getOtherGroupName

        java.lang.String getOtherGroupName()
        Returns other group name.
        Since:
        2.3.0
      • getGroupingDisplayOptions

        java.lang.String getGroupingDisplayOptions()
        Returns grouping display options.
        Since:
        2.3.0
      • getGroupingField

        com.orchestranetworks.schema.Path getGroupingField()
        Returns the configured field group by path.
        Since:
        2.3.0