|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.avaje.ebean.validation.factory.LengthValidatorFactory.LengthValidator
public static final class LengthValidatorFactory.LengthValidator
The actual length validator.
| Method Summary | |
|---|---|
Object[] |
getAttributes()
Returns the min and/or max attributes. |
String |
getKey()
Return a String key used to identify the validator. |
boolean |
isValid(Object value)
Return true if the value is valid. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Object[] getAttributes()
getAttributes in interface Validatorpublic String getKey()
ValidatorThis is used to identify the type of validation error and look up a localised error message.
getKey in interface Validatorpublic boolean isValid(Object value)
Validator
isValid in interface Validatorvalue - the property value being tested.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||