|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.annovalidator.builtin.validators.ValidateMatchingField.MatchingFieldValidator
public static class ValidateMatchingField.MatchingFieldValidator
Validator class for ValidateMatchingField
.
Constructor Summary | |
---|---|
ValidateMatchingField.MatchingFieldValidator()
|
Method Summary | |
---|---|
boolean |
validate(java.lang.Object target,
java.lang.Object matchingObject)
Tests that target matches the value of the
matchingFieldName field on object . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidateMatchingField.MatchingFieldValidator()
Method Detail |
---|
public boolean validate(java.lang.Object target, java.lang.Object matchingObject)
target
matches the value of the
matchingFieldName
field on object
.
target
- The field being validated.matchingObject
- The object being validated.matchingObject
- The name of the field on object
to match
target
against.
true
if target
matches the value
of the matchingFieldName
field on
object
, otherwise false
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |