public class BeanValidatorTraversableResolver
extends java.lang.Object
implements javax.validation.TraversableResolver
TraversableResolver
to bootstrap Bean Validation avoiding classpath problems with Hibernate
Validator 4 and JPA2. See https://forum.hibernate.org/viewtopic.php?p=2422115#p2422115 for more details.Constructor and Description |
---|
BeanValidatorTraversableResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCascadable(java.lang.Object object,
javax.validation.Path.Node node,
java.lang.Class<?> clazz,
javax.validation.Path path,
java.lang.annotation.ElementType elementType) |
boolean |
isReachable(java.lang.Object traversableObject,
javax.validation.Path.Node traversableProperty,
java.lang.Class<?> rootBeanType,
javax.validation.Path pathToTraversableObject,
java.lang.annotation.ElementType elementType) |
public boolean isReachable(java.lang.Object traversableObject, javax.validation.Path.Node traversableProperty, java.lang.Class<?> rootBeanType, javax.validation.Path pathToTraversableObject, java.lang.annotation.ElementType elementType)
isReachable
in interface javax.validation.TraversableResolver
public boolean isCascadable(java.lang.Object object, javax.validation.Path.Node node, java.lang.Class<?> clazz, javax.validation.Path path, java.lang.annotation.ElementType elementType)
isCascadable
in interface javax.validation.TraversableResolver
Copyright © 2013 Caelum. All Rights Reserved.