Class EntityValidatorValidator
- java.lang.Object
-
- org.openxava.validators.hibernate.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
-
-
Constructor Summary
Constructors Constructor Description EntityValidatorValidator()
-
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)
-
-
-
Method Detail
-
initialize
public void initialize(EntityValidator entityValidator)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<EntityValidator,java.lang.Object>
-
isValid
public boolean isValid(java.lang.Object entity, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<EntityValidator,java.lang.Object>
-
-