Class XmlDecisionTableDS

All Implemented Interfaces:
IReportingDS, IRuleDS, IDecisionTableDS

public class XmlDecisionTableDS extends XmlRuleDS implements IDecisionTableDS
Xml datasource implementation.
Since:
7.3
Author:
Danny Roest
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: IDecisionTableDS
      This method returns the (unique) name of the decision table.
      Specified by:
      getName in interface IDecisionTableDS
      Returns:
      The name of the decision table.
    • iterateConditions

      public void iterateConditions(IConditionVisitor visitor)
      Description copied from interface: IDecisionTableDS
      This method will be invoked to gather all the conditions of the decision table. The implementation of this interface should invoke the visitor for each condition that should be added to the table.
      Specified by:
      iterateConditions in interface IDecisionTableDS
      Parameters:
      visitor - The visitor that should be used to add the conditions to.
    • iterateJustifications

      public void iterateJustifications(IJustificationVisitor visitor)
      Description copied from interface: IDecisionTableDS
      This method should iterate all the justification texts that are available for this rule, and add them to the supplied visitor.
      Specified by:
      iterateJustifications in interface IDecisionTableDS
      Parameters:
      visitor - The visitor to which the justifications of this rule should be added.