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