org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution
Class CustomConstraint.ValidatorForAnotherSubClass

java.lang.Object
  extended by org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution.CustomConstraint.ValidatorForAnotherSubClass
All Implemented Interfaces:
javax.validation.ConstraintValidator<CustomConstraint,org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution.ValidatorResolutionTest.AnotherSubClass>
Enclosing class:
CustomConstraint

public static class CustomConstraint.ValidatorForAnotherSubClass
extends Object
implements javax.validation.ConstraintValidator<CustomConstraint,org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution.ValidatorResolutionTest.AnotherSubClass>


Constructor Summary
CustomConstraint.ValidatorForAnotherSubClass()
           
 
Method Summary
 void initialize(CustomConstraint parameters)
           
 boolean isValid(org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution.ValidatorResolutionTest.AnotherSubClass anotherSubClass, 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.ValidatorForAnotherSubClass

public CustomConstraint.ValidatorForAnotherSubClass()
Method Detail

initialize

public void initialize(CustomConstraint parameters)
Specified by:
initialize in interface javax.validation.ConstraintValidator<CustomConstraint,org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution.ValidatorResolutionTest.AnotherSubClass>

isValid

public boolean isValid(org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution.ValidatorResolutionTest.AnotherSubClass anotherSubClass,
                       javax.validation.ConstraintValidatorContext constraintValidatorContext)
Specified by:
isValid in interface javax.validation.ConstraintValidator<CustomConstraint,org.hibernate.beanvalidation.tck.tests.constraints.validatorresolution.ValidatorResolutionTest.AnotherSubClass>


Copyright © 2008-2013. All Rights Reserved.