public interface Constraint
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultFailMessage()
Includes the error message for the constraint
|
boolean |
isValid(Object value)
Indicates if the given value is valid or not
|
boolean isValid(Object value)
value - the value for the objectString getDefaultFailMessage()