org.hibernate.jsr303.tck.tests.constraints.validatorresolution
Class CustomConstraint.ValidatorForSubClassB

java.lang.Object
  extended by 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>


Constructor Summary
CustomConstraint.ValidatorForSubClassB()
           
 
Method Summary
 void initialize(CustomConstraint parameters)
           
 boolean isValid(SubClassB subClass, javax.validation.ConstraintValidatorContext constraintValidatorContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomConstraint.ValidatorForSubClassB

public CustomConstraint.ValidatorForSubClassB()
Method Detail

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.