Interface TableValidator
-
public interface TableValidatorAn interface that allows for custom table validation.
ATableDescriptorcan have 0..n TableValidators that will be invoked in order until ValidationException is thrown or all TableValidators have been executed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(Table table)Implementations of this method can perform any necessary validation on all the Fields in a row on a table.
-
-
-
Method Detail
-
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.
-
-