com.avaje.ebean.validation.factory
Class RangeValidatorFactory
java.lang.Object
com.avaje.ebean.validation.factory.RangeValidatorFactory
- All Implemented Interfaces:
- ValidatorFactory
-
public final class RangeValidatorFactory
- extends Object
-
- implements ValidatorFactory
-
Creates a String length validator.
Method Summary |
Validator |
create(Annotation annotation, Class<?> type)
Create the validator given the annotation. |
Validator |
create(long min, long max, Class<?> type)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RangeValidatorFactory
public RangeValidatorFactory()
create
public Validator create(Annotation annotation,
Class<?> type)
- Description copied from interface:
ValidatorFactory
-
Create the validator given the annotation.
-
- Specified by:
create
in interface ValidatorFactory
-
create
public Validator create(long min,
long max,
Class<?> type)
-
-
Copyright © 2010. All Rights Reserved.