Class XmlBusinessRuleDS

All Implemented Interfaces:
IReportingDS, IRuleDS, IBusinessRuleDS

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

  • Method Details

    • getActionAttribute

      public String getActionAttribute()
      Description copied from interface: IBusinessRuleDS
      This method should return the full name of the attribute for which the rule can provide a value.
      Specified by:
      getActionAttribute in interface IBusinessRuleDS
      Returns:
      the full name of the attribute for which the rule can provide a value.
    • getActionExpression

      public String getActionExpression()
      Description copied from interface: IBusinessRuleDS
      This method should return the expression that should be evaluated to determine the value for the attribute.
      Specified by:
      getActionExpression in interface IBusinessRuleDS
      Returns:
      the expression that should be evaluated to determine the value for the attribute.
    • getConditionExpression

      public String getConditionExpression()
      Description copied from interface: IBusinessRuleDS
      This method returns the expression that should be evaluated to determine if the rule should fire.
      Specified by:
      getConditionExpression in interface IBusinessRuleDS
      Returns:
      the expression that should be evaluated to determine if the rule should fire.
    • getName

      public String getName()
      Description copied from interface: IBusinessRuleDS
      This method returns the name of the business rule.
      Specified by:
      getName in interface IBusinessRuleDS
      Returns:
      the name of the business rule.
    • iterateJustifications

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