Class Solution
java.lang.Object
com.aquima.interactions.dtree.impl.Solution
- All Implemented Interfaces:
ISolution
This class is used to pass a result node back to the client.
- Since:
- 5.0
- Author:
- F. van der Meer
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Solution
(AssetDefinition text, String format) protected
Solution
(ContainerDefinition container) protected
Solution
(ValueReference reference, IValue attrValue) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the container solution if available.This method returns the Asset solution.This method returns the value solution.
-
Constructor Details
-
Solution
-
Solution
-
Solution
-
-
Method Details
-
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
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
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.
-