|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.library.constraints.MatchesConstraint
public class MatchesConstraint
Implement @Matches constraint.
Constructor Summary | |
---|---|
MatchesConstraint()
|
Method Summary | |
---|---|
boolean |
isValid(Matches annotation,
java.lang.String argument)
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 MatchesConstraint()
Method Detail |
---|
public boolean isValid(Matches annotation, java.lang.String argument)
Constraint
isValid
in interface Constraint<Matches,java.lang.String>
annotation
- the annotation to matchargument
- the value to be checked
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |