Class Condition
java.lang.Object
com.aquima.interactions.rule.impl.table.Condition
- All Implemented Interfaces:
Comparable<Condition>
This class holds the data of a single condition from a decision table.
- Since:
- 5.0
- Author:
- O. Kerpershoek
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Action[]
This method returns an array of actions of this condition node.This method returns the expression that should be used as alternative (value).This method returns the expression that should be used as condition.This method returns an array containing the sub conditions of this condition node.int
getIndex()
This method return the original index of the condition as it was in the studio model.int
toString()
-
Constructor Details
-
Condition
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Condition>
-
getSequenceNr
public int getSequenceNr() -
getIndex
public int getIndex()This method return the original index of the condition as it was in the studio model.- Returns:
- the original index of the condition.
-
getConditionExpression
This method returns the expression that should be used as condition.- Returns:
- the expression that should be used as condition.
-
getAlternativeExpression
This method returns the expression that should be used as alternative (value).- Returns:
- the expression that should be used as alternative (value).
-
getActions
This method returns an array of actions of this condition node. If this condition node does not have any actions, an empty array is returned.- Returns:
- an array of actions of this condition node.
-
getConditions
This method returns an array containing the sub conditions of this condition node. If this condition node does not have any sub conditions, an empty array is returned.- Returns:
- an array containing the sub conditions of this condition node.
-
toString
-