com.avaje.ebean.validation.factory
Class NotNullValidatorFactory

java.lang.Object
  extended by com.avaje.ebean.validation.factory.NotNullValidatorFactory
All Implemented Interfaces:
ValidatorFactory

public class NotNullValidatorFactory
extends Object
implements ValidatorFactory

Creates a NotNull validator.

Note that there is actually only one instance of this validator as it is thread-safe.


Nested Class Summary
static class NotNullValidatorFactory.NotNullValidator
           
 
Field Summary
static Validator NOT_NULL
           
 
Constructor Summary
NotNullValidatorFactory()
           
 
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
 

Field Detail

NOT_NULL

public static final Validator NOT_NULL
Constructor Detail

NotNullValidatorFactory

public NotNullValidatorFactory()
Method Detail

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.