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.
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.