Class DecisionTreeCondition
java.lang.Object
com.aquima.interactions.dtree.impl.AbstractNode
com.aquima.interactions.dtree.impl.DecisionTreeCondition
- All Implemented Interfaces:
Serializable
Decision tree node representing a condition.
- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DecisionTreeCondition
(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode parent, IDecisionTreeNodeDS nodeDS) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns an array containing the child nodes.boolean
This method returns a boolean indicating if this node represents a condition node.toString()
Methods inherited from class com.aquima.interactions.dtree.impl.AbstractNode
getCondition, getQuestionAttribute, getTree, isActionNode, isAssetAction, isAttributeAction, isContainerAction, isSubtreeAction, toAssetAction, toAttributeAction, toContainerAction, toSubtreeAction
-
Constructor Details
-
DecisionTreeCondition
protected DecisionTreeCondition(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode parent, IDecisionTreeNodeDS nodeDS) throws InitializationException - Throws:
InitializationException
-
-
Method Details
-
getChildren
Description copied from class:AbstractNode
This method returns an array containing the child nodes.
Note: This method is public to allow test-case access, but should not be used outside the tree engine.
- Specified by:
getChildren
in classAbstractNode
- Returns:
- an array containing the child nodes.
-
isCondition
public boolean isCondition()Description copied from class:AbstractNode
This method returns a boolean indicating if this node represents a condition node.- Overrides:
isCondition
in classAbstractNode
- Returns:
- a boolean indicating if this node represents a condition node.
-
toString
- Overrides:
toString
in classAbstractNode
-