T
- the column object typepublic interface Validator<T>
VirtualTable
.VirtualTableColumn.addValidator(Validator)
Modifier and Type | Method and Description |
---|---|
void |
validate(T value,
VirtualTableColumn<?> column)
Validates
value before it is inserted into a
VirtualTable . |
void validate(T value, VirtualTableColumn<?> column) throws VirtualTableException
value
before it is inserted into a
VirtualTable
.
If the value is not valid to be inserted a VirtualTableException
is thrown, otherwise the method returns normally.
value
- the value to be validatedcolumn
- the column in which the value will be insertedVirtualTableException
- if the value is not valid to be insertedCopyright © 2003–2021 XDEV Software. All rights reserved.