org.hibernate.jsr303.tck.tests.xmlconfiguration
Class CustomConsistentUserValidator
java.lang.Object
org.hibernate.jsr303.tck.tests.xmlconfiguration.ConsistentUserValidator
org.hibernate.jsr303.tck.tests.xmlconfiguration.CustomConsistentUserValidator
- All Implemented Interfaces:
- javax.validation.ConstraintValidator<ConsistentUserInformation,User>
public class CustomConsistentUserValidator
- extends ConsistentUserValidator
- Author:
- Hardy Ferentschik
Method Summary |
boolean |
isValid(User user,
javax.validation.ConstraintValidatorContext constraintValidatorContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomConsistentUserValidator
public CustomConsistentUserValidator()
isValid
public boolean isValid(User user,
javax.validation.ConstraintValidatorContext constraintValidatorContext)
- Specified by:
isValid
in interface javax.validation.ConstraintValidator<ConsistentUserInformation,User>
- Overrides:
isValid
in class ConsistentUserValidator
Copyright © 2008-2011. All Rights Reserved.