Class DecisionTable
java.lang.Object
com.aquima.interactions.rule.impl.table.DecisionTable
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 Summary
ConstructorDescriptionDecisionTable
(IDecisionTableDS datasource) Constructs the decision table model using the provided data-source. -
Method Summary
Modifier and TypeMethodDescriptionAn array containing the conditions of the decision table.getName()
This method returns the name of the decision table.String[]
This method returns an array containing the names of the rule groups this rule belongs to.String[]
This method returns an array containing all the attributes whose value can be determined by this decision table.toString()
-
Constructor Details
-
DecisionTable
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
This method returns the name of the decision table.- Returns:
- the name of the decision table.
-
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
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
An array containing the conditions of the decision table.- Returns:
- the conditions of the decision table.
-
toString
-