com.avaje.ebean.validation.factory
Class NotEmptyValidatorFactory
java.lang.Object
com.avaje.ebean.validation.factory.NotEmptyValidatorFactory
- All Implemented Interfaces:
- ValidatorFactory
-
public class NotEmptyValidatorFactory
- extends Object
-
- implements ValidatorFactory
-
Creates NotEmpty validators depending on the type.
Only valid for Strings, Lists, Sets, Collections and Maps.
Method Summary |
Validator |
create(Annotation annotation, Class<?> type)
Create the validator given the annotation. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotEmptyValidatorFactory
public NotEmptyValidatorFactory()
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
-
Copyright © 2010. All Rights Reserved.