Class DecisionTable

java.lang.Object
com.aquima.interactions.rule.impl.table.DecisionTable

public class DecisionTable extends Object
This class holds the definition of a single decision table. This definition is used by inference rules and constraints.
Since:
5.0
Author:
O. Kerpershoek
  • Constructor Details

    • DecisionTable

      public DecisionTable(IDecisionTableDS datasource)
      Constructs the decision table model using the provided data-source.
      Parameters:
      datasource - The data-source that should be used to initialize the decision table model.
  • Method Details

    • getName

      public String getName()
      This method returns the name of the decision table.
      Returns:
      the name of the decision table.
    • getRuleGroupNames

      public String[] getRuleGroupNames()
      This method returns an array containing the names of the rule groups this rule belongs to.
      Returns:
      an array containing the names of the rule groups this rule belongs to.
    • getTargetAttributes

      public String[] getTargetAttributes()
      This method returns an array containing all the attributes whose value can be determined by this decision table. The array returned is never null.
      Returns:
      an array containing all the attributes whose value can be determined by this decision table.
    • getConditions

      public Condition[] getConditions()
      An array containing the conditions of the decision table.
      Returns:
      the conditions of the decision table.
    • toString

      public String toString()
      Overrides:
      toString in class Object