Interface TableValidator


public interface TableValidator
An interface that allows for custom table validation.

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

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

    • validate

      void validate(Table table) 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:
      table - a Table containing all the rows in order.
      Throws:
      ValidationException - if the table is invalid.