Class EntityValidatorValidator

  • All Implemented Interfaces:
    javax.validation.ConstraintValidator<EntityValidator,​java.lang.Object>

    public class EntityValidatorValidator
    extends java.lang.Object
    implements javax.validation.ConstraintValidator<EntityValidator,​java.lang.Object>
    Implements a EntityValidator of OpenXava as a Bean Validation Constraint.

    Author:
    Javier Paniza
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initialize​(EntityValidator entityValidator)  
      boolean isValid​(java.lang.Object entity, javax.validation.ConstraintValidatorContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EntityValidatorValidator

        public EntityValidatorValidator()
    • Method Detail

      • initialize

        public void initialize​(EntityValidator entityValidator)
        Specified by:
        initialize in interface javax.validation.ConstraintValidator<EntityValidator,​java.lang.Object>
      • isValid

        public boolean isValid​(java.lang.Object entity,
                               javax.validation.ConstraintValidatorContext context)
        Specified by:
        isValid in interface javax.validation.ConstraintValidator<EntityValidator,​java.lang.Object>