D - Type of input datapublic interface FieldValidator<D>
FieldValidators are stored in Sets it is good practice to implement
#hashCode() and #equals(Object).
Note that a FieldValidator could throw a MissingFieldException| Modifier and Type | Method and Description |
|---|---|
void |
validate(D data) |
void validate(D data) throws FieldException
FieldException