All Implemented Interfaces:
IReportingDS, IDataRuleDS, IRuleDS

public class XmlDataRuleDS extends XmlRuleDS implements IDataRuleDS
Xml datasource implementation.
Since:
8.3
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: IDataRuleDS
      This method returns the name of the data rule.
      Specified by:
      getName in interface IDataRuleDS
      Returns:
      the name of the data rule.
    • getConnectionName

      public String getConnectionName()
      Description copied from interface: IDataRuleDS
      This method returns the name of (resource) connection that is used by this data rule.
      Specified by:
      getConnectionName in interface IDataRuleDS
      Returns:
      the name of the (resource) connection, may not be null.
    • getTypeName

      public String getTypeName()
      Description copied from interface: IDataRuleDS
      This method returns the type name of this data rule. (for now only "csvDataRule" can be returned as type name)
      Specified by:
      getTypeName in interface IDataRuleDS
      Returns:
      the type name of the data rule.
    • iterateConditions

      public void iterateConditions(IConditionVisitor visitor)
      Description copied from interface: IDataRuleDS
      This method will be invoked by the data rule to request the information of all conditions (also known as criteria) that are defined for this data rule.
      Specified by:
      iterateConditions in interface IDataRuleDS
      Parameters:
      visitor - The visitor that should be used to add the condition definitions to.
    • iterateTargets

      public void iterateTargets(ITargetVisitor visitor)
      Description copied from interface: IDataRuleDS
      This method will be invoked by the data rule to request the information of all targets (also known as goals) that are defined for this data rule.
      Specified by:
      iterateTargets in interface IDataRuleDS
      Parameters:
      visitor - The visitor that should be used to add the target definitions to.
    • iterateJustifications

      public void iterateJustifications(IJustificationVisitor visitor)
      Description copied from interface: IDataRuleDS
      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 IDataRuleDS
      Parameters:
      visitor - The visitor to which the justifications of this rule should be added.