org.hibernate.jsr303.tck.tests.constraints.validatorresolution
Class CustomConstraint.ValidatorForSubClassB
java.lang.Object
org.hibernate.jsr303.tck.tests.constraints.validatorresolution.CustomConstraint.ValidatorForSubClassB
- All Implemented Interfaces:
- javax.validation.ConstraintValidator<CustomConstraint,SubClassB>
- Enclosing class:
- CustomConstraint
public static class CustomConstraint.ValidatorForSubClassB
- extends Object
- implements javax.validation.ConstraintValidator<CustomConstraint,SubClassB>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomConstraint.ValidatorForSubClassB
public CustomConstraint.ValidatorForSubClassB()
initialize
public void initialize(CustomConstraint parameters)
- Specified by:
initialize
in interface javax.validation.ConstraintValidator<CustomConstraint,SubClassB>
isValid
public boolean isValid(SubClassB subClass,
javax.validation.ConstraintValidatorContext constraintValidatorContext)
- Specified by:
isValid
in interface javax.validation.ConstraintValidator<CustomConstraint,SubClassB>
Copyright © 2008-2011. All Rights Reserved.