Class SolutionNodeTemplate

Direct Known Subclasses:
AttributeSolutionTemplate, ContainerSolutionTemplate

public abstract class SolutionNodeTemplate extends DecisionTreeNodeTemplate
Base class for node templates representing a solution.
Since:
6.0
Author:
O. Kerpershoek
  • Constructor Details

    • SolutionNodeTemplate

      protected SolutionNodeTemplate(com.aquima.interactions.foundation.report.IInitializationReport report, String alternative)
  • Method Details

    • addAttributeSolution

      public AttributeSolutionTemplate addAttributeSolution(String attribute, String strValue)
      This method can be used to add an attribute solution.
      Parameters:
      attribute - The attribute of the solution.
      strValue - The value of the solution.
      Returns:
      Solution template representing the added solution.
    • addContainerSolution

      public ContainerSolutionTemplate addContainerSolution(String containerName)
      This method can be used to add a container solution.
      Parameters:
      containerName - The name of the container.
      Returns:
      Solution template representing the added solution.
    • addCondition

      public ConditionNodeTemplate addCondition(String attribute)
      This method can be used to add a condition node.
      Parameters:
      attribute - The attribute that should be asked.
      Returns:
      Condition template representing the added condition.