|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Validator
public String getKey()
Validator
This is used to identify the type of validation error and look up a localised error message.
getKey
in interface Validator
public boolean isValid(Object value)
Validator
isValid
in interface Validator
value
- the property value being tested.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |