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