public static class EntityName.Constraint extends Object implements Constraint<EntityName,String>
| Constructor and Description |
|---|
Constraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(EntityName annotation,
String value)
For each value or parameter which should be checked this method will be invoked.
|
public boolean isValid(EntityName annotation, String value)
ConstraintisValid in interface Constraint<EntityName,String>annotation - the annotation to matchvalue - the value to be checked