|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.library.constraints.NotEmptyCollectionConstraint
public class NotEmptyCollectionConstraint
Implement @NotEmtpy constraint for Collection.
Constructor Summary | |
---|---|
NotEmptyCollectionConstraint()
|
Method Summary | |
---|---|
boolean |
isValid(NotEmpty annotation,
java.util.Collection value)
For each value or parameter which should be checked this method will be invoked. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotEmptyCollectionConstraint()
Method Detail |
---|
public boolean isValid(NotEmpty annotation, java.util.Collection value)
Constraint
isValid
in interface Constraint<NotEmpty,java.util.Collection>
annotation
- the annotation to matchvalue
- the value to be checked
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |