Interface RowValidator
-
- All Known Subinterfaces:
EnhancedRowValidator
public interface RowValidatorAn 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.
ATableDescriptorcan have 0..n RowValidators that will be invoked in order until ValidationException is thrown or all RowValidators have been executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(FieldList fieldsInRow)Implementations of this method can perform any necessary validation on all the Fields in a row on a table.
-
-
-
Method Detail
-
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.
-
-