org.javalid.core.validator
Class EmptyOrNotEmptyAllValidatorImpl

java.lang.Object
  extended by org.javalid.core.validator.AbstractJavalidValidatorImpl<EmptyOrNotEmptyAll>
      extended by org.javalid.core.validator.EmptyOrNotEmptyAllValidatorImpl
All Implemented Interfaces:
JavalidValidator<EmptyOrNotEmptyAll>

public class EmptyOrNotEmptyAllValidatorImpl
extends AbstractJavalidValidatorImpl<EmptyOrNotEmptyAll>

This class is responsible for validating several values at once and they must be all EMPTY or all be NON-EMPTY. It validates the EmptryOrNotEmptyAll annotation.

Since:
1.2
Version:
1.0
Author:
M.Reuvers

Constructor Summary
EmptyOrNotEmptyAllValidatorImpl()
           
 
Method Summary
 java.util.List<ValidationMessage> doValidate(EmptyOrNotEmptyAll annotation, java.lang.Object value, java.lang.String path, JvConfigurationWrapper config)
           
 
Methods inherited from class org.javalid.core.validator.AbstractJavalidValidatorImpl
checkIsSingleExpression, requiresComplexCall, validate, validateComplex, validationMustBeAppliedToGroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyOrNotEmptyAllValidatorImpl

public EmptyOrNotEmptyAllValidatorImpl()
Method Detail

doValidate

public java.util.List<ValidationMessage> doValidate(EmptyOrNotEmptyAll annotation,
                                                    java.lang.Object value,
                                                    java.lang.String path,
                                                    JvConfigurationWrapper config)
Specified by:
doValidate in class AbstractJavalidValidatorImpl<EmptyOrNotEmptyAll>