Interface IFieldValidationVisitor

All Known Implementing Classes:
FieldValidationVisitor, FieldValidationVisitor, ReportingFieldValidationVisitor

public interface IFieldValidationVisitor
This visitor is used during initialization to gather the validation (definitions) for a field.
Since:
7.1
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method should be invoked for each validation that needs to be added to the field.
  • Method Details

    • addValidation

      void addValidation(IFieldValidationDS datasource)
      This method should be invoked for each validation that needs to be added to the field. The validations should be added in the correct order, as the validation that is added first will also be evaluated first.
      Parameters:
      datasource - Object providing the data needed to initialize a validation definition.
      Throws:
      InitializationException - This exception is thrown when the validation could not be initialized.