Class ReportingValidationVisitor

java.lang.Object
com.aquima.interactions.foundation.report.ReportingVisitorDS
com.aquima.interactions.rule.report.ReportingValidationVisitor
All Implemented Interfaces:
IRuleVisitor, IValidationVisitor

public class ReportingValidationVisitor extends ReportingVisitorDS implements IValidationVisitor
IValidationVisitor implementation that adds error reporting.
Since:
5.0
Author:
O. Kerpershoek
  • Constructor Details

  • Method Details

    • addValidation

      public void addValidation(IValidationDS datasource)
      Description copied from interface: IValidationVisitor
      This method may be used to add a validation rule by providing a data source that can be used to initialize a standard validation.
      Specified by:
      addValidation in interface IValidationVisitor
      Parameters:
      datasource - Data source capable of providing the data needed to initialize a validation rule.
    • addValidation

      public void addValidation(IValidationRule rule)
      Description copied from interface: IValidationVisitor
      This method may be used to add a custom validation rule to the rule engine.
      Specified by:
      addValidation in interface IValidationVisitor
      Parameters:
      rule - Custom implementation of the validation rule interface.
    • getMetaModel

      public IMetaModel getMetaModel()
      Description copied from interface: IRuleVisitor
      This method returns the meta model of the rule engine.
      Specified by:
      getMetaModel in interface IRuleVisitor
      Returns:
      the meta model of the rule engine.
    • getParser

      public IParserFactory getParser()
      Description copied from interface: IRuleVisitor
      This method returns the expression parser of the rule engine which may be used to parse expressions and dynamic texts.
      Specified by:
      getParser in interface IRuleVisitor
      Returns:
      the expression parser of the rule engine.