public interface Validator<T> extends Serializable
Modifier and Type | Method and Description |
---|---|
static <T> void |
assertFalse(Predicate<T> predicate,
String message,
boolean warn,
T components,
Object... messageParams) |
void |
validate(T target)
Validates the associated model against an applicable standard.
|
static <T> void assertFalse(Predicate<T> predicate, String message, boolean warn, T components, Object... messageParams)
void validate(T target) throws ValidationException
ValidationException
- where the model does not confirm to the applicable standard