Class XmlDecisionTreeNodeDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.dtree.ds.xml.r17.parsing.XmlDecisionTreeNodeDS
All Implemented Interfaces:
IDecisionTreeNodeDS, IReportingDS

public class XmlDecisionTreeNodeDS extends ReportingDS implements IDecisionTreeNodeDS
Release 8.x implementation of the decision tree data source from XML.
Since:
7.2
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • iterateNodes

      public void iterateNodes(ITreeNodeVisitor visitor)
      Description copied from interface: IDecisionTreeNodeDS
      This method should iterate over the child node(s) of this node, and add them to the provided visitor.
      Specified by:
      iterateNodes in interface IDecisionTreeNodeDS
      Parameters:
      visitor - The visitor that should be used to add the nodes to.
    • getConditionAlternative

      public String getConditionAlternative()
      Description copied from interface: IDecisionTreeNodeDS
      If the node has a condition alternative, the parent-node's condition attribute has to be set.
      Specified by:
      getConditionAlternative in interface IDecisionTreeNodeDS
      Returns:
      the alternative value that should be used in conjunction with the parents condition.
    • getConditionAttribute

      public String getConditionAttribute()
      Description copied from interface: IDecisionTreeNodeDS
      Returns the question attribute, child nodes have the question attribute set.
      Specified by:
      getConditionAttribute in interface IDecisionTreeNodeDS
      Returns:
      the question attribute, child nodes have the question attribute set.
    • getConditionEntity

      public String getConditionEntity()
      Description copied from interface: IDecisionTreeNodeDS
      Returns the question entity, child nodes have the question attribute set.
      Specified by:
      getConditionEntity in interface IDecisionTreeNodeDS
      Returns:
      the question entity, child nodes have the question attribute set.
    • getLinkAssetFormat

      public String getLinkAssetFormat()
      Description copied from interface: IDecisionTreeNodeDS
      This method should return the format that should be used for the linked asset. This method will only be invoked for nodes that are linked to an asset.
      Specified by:
      getLinkAssetFormat in interface IDecisionTreeNodeDS
      Returns:
      the format that should be used for the linked asset.
    • getLinkAssetName

      public String getLinkAssetName()
      Description copied from interface: IDecisionTreeNodeDS
      This method should return the name of the asset this node is linked to. If the node is not linked to an asset, the method should return null.
      Specified by:
      getLinkAssetName in interface IDecisionTreeNodeDS
      Returns:
      the name of the asset this node is linked to.
    • getLinkAttribute

      public String getLinkAttribute()
      Description copied from interface: IDecisionTreeNodeDS
      This method should return the name of the attribute this node is linked to. If the node is not linked to an attribute, the method should return null.
      Specified by:
      getLinkAttribute in interface IDecisionTreeNodeDS
      Returns:
      the name of the attribute this node is linked to.
    • getLinkAttributeValueExpression

      public String getLinkAttributeValueExpression()
      Description copied from interface: IDecisionTreeNodeDS
      This method should return the expression for the value the linked attribute. This method will only be invoked for nodes that are linked to an attribute.
      Specified by:
      getLinkAttributeValueExpression in interface IDecisionTreeNodeDS
      Returns:
      the expression for the value the linked attribute.
    • getLinkContainerName

      public String getLinkContainerName()
      Description copied from interface: IDecisionTreeNodeDS
      This method should return the name of the container this node is linked to. If the node is not linked to a container, the method should return null.
      Specified by:
      getLinkContainerName in interface IDecisionTreeNodeDS
      Returns:
      the name of the container this node is linked to.
    • getLinkEntity

      public String getLinkEntity()
      Description copied from interface: IDecisionTreeNodeDS
      This method should return the name of the entity of the linked attribute. This method will only be invoked for nodes that are linked to an attribute.
      Specified by:
      getLinkEntity in interface IDecisionTreeNodeDS
      Returns:
      the name of the entity of the linked attribute.
    • getLinkTreeName

      public String getLinkTreeName()
      Description copied from interface: IDecisionTreeNodeDS
      This method should return the name of the tree this node is linked to. If the node is not linked to a tree, the method should return null.
      Specified by:
      getLinkTreeName in interface IDecisionTreeNodeDS
      Returns:
      the name of the tree this node is linked to.