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
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
-
Method Details
-
validate
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.
-