|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.data.validation.Constraints.Validator<java.lang.Object> play.data.validation.Constraints.RequiredValidator
public static class Constraints.RequiredValidator
Validator for @Required
fields.
Field Summary | |
---|---|
static java.lang.String |
message
|
Constructor Summary | |
---|---|
Constraints.RequiredValidator()
|
Method Summary | |
---|---|
void |
initialize(Constraints.Required constraintAnnotation)
|
boolean |
isValid(java.lang.Object object)
Returns true if this value is valid. |
Methods inherited from class play.data.validation.Constraints.Validator |
---|
isValid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.validation.ConstraintValidator |
---|
isValid |
Field Detail |
---|
public static final java.lang.String message
Constructor Detail |
---|
public Constraints.RequiredValidator()
Method Detail |
---|
public void initialize(Constraints.Required constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<Constraints.Required,java.lang.Object>
public boolean isValid(java.lang.Object object)
Constraints.Validator
true
if this value is valid.
isValid
in class Constraints.Validator<java.lang.Object>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |