Class SubTreeAction
- java.lang.Object
-
- com.aquima.interactions.dtree.impl.AbstractNode
-
- com.aquima.interactions.dtree.impl.SubTreeAction
-
- All Implemented Interfaces:
Serializable
public class SubTreeAction extends AbstractNode
Decision tree node representing a sub tree.- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SubTreeAction(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode parent, IDecisionTreeNodeDS nodeDS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractNode[]
getChildren()
This method returns an array containing the child nodes.protected String
getSubTree()
boolean
isSubtreeAction()
SubTreeAction
toSubtreeAction()
-
Methods inherited from class com.aquima.interactions.dtree.impl.AbstractNode
getCondition, getQuestionAttribute, getTree, isActionNode, isAssetAction, isAttributeAction, isCondition, isContainerAction, toAssetAction, toAttributeAction, toContainerAction, toString
-
-
-
-
Constructor Detail
-
SubTreeAction
protected SubTreeAction(InitializationLookup lookup, IDecisionTree decisionTree, AbstractNode parent, IDecisionTreeNodeDS nodeDS) throws InitializationException
- Throws:
InitializationException
-
-
Method Detail
-
isSubtreeAction
public boolean isSubtreeAction()
- Overrides:
isSubtreeAction
in classAbstractNode
-
toSubtreeAction
public SubTreeAction toSubtreeAction() throws DecisionTreeException
- Overrides:
toSubtreeAction
in classAbstractNode
- Throws:
DecisionTreeException
-
getChildren
public AbstractNode[] 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.
-
getSubTree
protected String getSubTree()
-
-