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

java.lang.Object
  extended by org.hibernate.jsr303.tck.tests.constraints.validatorresolution.CustomConstraint.ValidatorForSubClassA
All Implemented Interfaces:
javax.validation.ConstraintValidator<CustomConstraint,SubClassA>
Enclosing class:
CustomConstraint

public static class CustomConstraint.ValidatorForSubClassA
extends Object
implements javax.validation.ConstraintValidator<CustomConstraint,SubClassA>


Constructor Summary
CustomConstraint.ValidatorForSubClassA()
           
 
Method Summary
 void initialize(CustomConstraint parameters)
           
 boolean isValid(SubClassA 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.ValidatorForSubClassA

public CustomConstraint.ValidatorForSubClassA()
Method Detail

initialize

public void initialize(CustomConstraint parameters)
Specified by:
initialize in interface javax.validation.ConstraintValidator<CustomConstraint,SubClassA>

isValid

public boolean isValid(SubClassA subClass,
                       javax.validation.ConstraintValidatorContext constraintValidatorContext)
Specified by:
isValid in interface javax.validation.ConstraintValidator<CustomConstraint,SubClassA>


Copyright © 2008-2011. All Rights Reserved.