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