Class XmlFieldValidationDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.communication.ds.xml.r12.parsing.XmlFieldValidationDS
All Implemented Interfaces:
IFieldValidationDS, IReportingDS

public final class XmlFieldValidationDS extends ReportingDS implements IFieldValidationDS
Xml datasource implementation.
Since:
9.0
Author:
Jon van Leuven
  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Description copied from interface: IFieldValidationDS
      this method return the name of the validator type.
      Specified by:
      getType in interface IFieldValidationDS
      Returns:
      the name of the validator type.
    • getMessage

      public IMultilingualText getMessage()
      Description copied from interface: IFieldValidationDS
      This method returns the text that should be shown when a value does not pass the validation. The text may contain TSL, the message will be expanded after the (invalid) value is evaluated.
      Specified by:
      getMessage in interface IFieldValidationDS
      Returns:
      text that should be shown when a value does not pass the validation.
    • getCondition

      public String getCondition()
      Description copied from interface: IFieldValidationDS
      This method returns the condition that should be evaluated to determine if the validation should be active.
      Specified by:
      getCondition in interface IFieldValidationDS
      Returns:
      the condition that should be evaluated to determine if the validation should be active.
    • iterateParameters

      public void iterateParameters(IFieldValidationParameterVisitor visitor)
      Description copied from interface: IFieldValidationDS
      This method returns a map containing parameters for the validator. If the validator does not require any parameters.
      Specified by:
      iterateParameters in interface IFieldValidationDS
      Parameters:
      visitor - the visitor which accepts the parameter information