Package com.aquima.interactions.dtree.ds
Interface IDecisionTreeDS
-
- All Superinterfaces:
IReportingDS
- All Known Implementing Classes:
DecisionTreeDelegateDS
,DecisionTreeDS
,XmlDecisionTreeDS
public interface IDecisionTreeDS extends IReportingDS
Data source interface used during initialization to retrieve the data of a single decision tree.- Since:
- 5.0
- Author:
- F. van der Meer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IMultilingualText
getDisplayText()
This method should return the description of text used for display of the decision tree.String
getName()
This method should return the name of the decision tree.boolean
isExposedAsWebservice()
This method should indicate whether the decision tree will be exposed as a webservice.void
iterateNodes(ITreeNodeVisitor visitor)
This method should iterate over the top node(s) of the tree, and add them to the provided visitor.void
iterateSymptoms(ITreeSymptomVisitor visitor)
This method should iterate over the symptoms of the tree and add them to the visitor.-
Methods inherited from interface com.aquima.interactions.foundation.report.IReportingDS
addMessage
-
-
-
-
Method Detail
-
getName
String getName()
This method should return the name of the decision tree.- Returns:
- the name of the decision tree.
-
getDisplayText
IMultilingualText getDisplayText()
This method should return the description of text used for display of the decision tree.- Returns:
- the description of text used for display of the decision tree.
-
isExposedAsWebservice
boolean isExposedAsWebservice()
This method should indicate whether the decision tree will be exposed as a webservice.- Returns:
true
if exposed otherwisefalse
-
iterateNodes
void iterateNodes(ITreeNodeVisitor visitor) throws InitializationException
This method should iterate over the top node(s) of the tree, and add them to the provided visitor.- Parameters:
visitor
- The visitor that should be used to add the nodes to.- Throws:
InitializationException
- This exception is thrown when the nodes could not be initialized.
-
iterateSymptoms
void iterateSymptoms(ITreeSymptomVisitor visitor) throws InitializationException
This method should iterate over the symptoms of the tree and add them to the visitor.- Parameters:
visitor
- The visitor that should be used to add the symptoms to.- Throws:
InitializationException
- This exception is thrown when the symptoms could not be initialized.
-
-