com.avaje.ebean.validation.factory
Class NoAttributesValidator

java.lang.Object
  extended by com.avaje.ebean.validation.factory.NoAttributesValidator
All Implemented Interfaces:
Validator
Direct Known Subclasses:
AssertFalseValidatorFactory.AssertFalseValidator, AssertTrueValidatorFactory.AssertTrueValidator, EmailValidatorFactory.EmailValidator, NotNullValidatorFactory.NotNullValidator

public abstract class NoAttributesValidator
extends Object
implements Validator

Abstract validator that has no attributes.


Constructor Summary
NoAttributesValidator()
           
 
Method Summary
 Object[] getAttributes()
          Returns an empty array.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.avaje.ebean.validation.factory.Validator
getKey, isValid
 

Constructor Detail

NoAttributesValidator

public NoAttributesValidator()
Method Detail

getAttributes

public Object[] getAttributes()
Returns an empty array.

Specified by:
getAttributes in interface Validator


Copyright © 2010. All Rights Reserved.