|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qi4j.library.constraints.OneOfConstraint
public class OneOfConstraint
Implement @OneOf constraint.
Constructor Summary | |
---|---|
OneOfConstraint()
|
Method Summary | |
---|---|
boolean |
isValid(OneOf oneOf,
java.lang.String 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 OneOfConstraint()
Method Detail |
---|
public boolean isValid(OneOf oneOf, java.lang.String value)
Constraint
isValid
in interface Constraint<OneOf,java.lang.String>
oneOf
- 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 |