@Primary @Singleton @Internal public class CompositeTraversableResolver extends java.lang.Object implements javax.validation.TraversableResolver
TraversableResolver
that takes into account all configured TraversableResolver
instances.Constructor and Description |
---|
CompositeTraversableResolver(java.util.List<javax.validation.TraversableResolver> traversableResolvers)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCascadable(java.lang.Object traversableObject,
javax.validation.Path.Node traversableProperty,
java.lang.Class<?> rootBeanType,
javax.validation.Path pathToTraversableObject,
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 CompositeTraversableResolver(java.util.List<javax.validation.TraversableResolver> traversableResolvers)
traversableResolvers
- The traversable resolverspublic 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 traversableObject, javax.validation.Path.Node traversableProperty, java.lang.Class<?> rootBeanType, javax.validation.Path pathToTraversableObject, java.lang.annotation.ElementType elementType)
isCascadable
in interface javax.validation.TraversableResolver