Interface RowValidator

All Known Subinterfaces:
EnhancedRowValidator

public interface RowValidator
An interface that allows for custom row level validation of all the Fields that compose a row in a table. Row validation occurs after individual field validation and only if no errors are reported during field validation process.

A TableDescriptor can have 0..n RowValidators that will be invoked in order until ValidationException is thrown or all RowValidators have been executed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(FieldList fieldsInRow)
    Implementations of this method can perform any necessary validation on all the Fields in a row on a table.
  • Method Details

    • validate

      void validate(FieldList fieldsInRow) throws ValidationException
      Implementations of this method can perform any necessary validation on all the Fields in a row on a table. This is generally useful when there are dependencies between fields in a row.
      Parameters:
      fieldsInRow - a FieldList containing all the Fields (name and value) in the row in order.
      Throws:
      ValidationException - if the row of fields is invalid.