Class Solution
- java.lang.Object
-
- com.aquima.interactions.dtree.impl.Solution
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Solution(AssetDefinition text, String format)
protected
Solution(ContainerDefinition container)
protected
Solution(ValueReference reference, IValue attrValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerDefinition
getContainerSolution()
This method returns the container solution if available.AssetSolution
getTextSolution()
This method returns the Asset solution.ValueSolution
getValueSolution()
This method returns the value solution.
-
-
-
Constructor Detail
-
Solution
protected Solution(ContainerDefinition container)
-
Solution
protected Solution(AssetDefinition text, String format)
-
Solution
protected Solution(ValueReference reference, IValue attrValue)
-
-
Method Detail
-
getContainerSolution
public ContainerDefinition getContainerSolution()
Description copied from interface:ISolution
This method returns the container solution if available. If this solution does not have a container, the method will return null.- Specified by:
getContainerSolution
in interfaceISolution
- Returns:
- The container solution, or null if no container solution is present.
-
getTextSolution
public AssetSolution getTextSolution()
Description copied from interface:ISolution
This method returns the Asset solution. If this solution does not have an asset, the method will return null.- Specified by:
getTextSolution
in interfaceISolution
- Returns:
- the Asset solution, or null if no asset solution is present.
-
getValueSolution
public ValueSolution getValueSolution()
Description copied from interface:ISolution
This method returns the value solution. If this solution does not have a value, the method will return null.- Specified by:
getValueSolution
in interfaceISolution
- Returns:
- The value solution, or null if no value solution is present.
-
-