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