public class JPATraversableResolver extends Object implements TraversableResolver
TraversableResolver which is aware of JPA 2 and utilizes PersistenceUtil to get
query the reachability of a property.
This resolver will be automatically enabled if JPA 2 is on the classpath and the DefaultTraversableResolver is
used.| Constructor and Description |
|---|
JPATraversableResolver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCascadable(Object traversableObject,
Path.Node traversableProperty,
Class<?> rootBeanType,
Path pathToTraversableObject,
ElementType elementType) |
boolean |
isReachable(Object traversableObject,
Path.Node traversableProperty,
Class<?> rootBeanType,
Path pathToTraversableObject,
ElementType elementType) |
public final boolean isReachable(Object traversableObject, Path.Node traversableProperty, Class<?> rootBeanType, Path pathToTraversableObject, ElementType elementType)
isReachable in interface TraversableResolverpublic final boolean isCascadable(Object traversableObject, Path.Node traversableProperty, Class<?> rootBeanType, Path pathToTraversableObject, ElementType elementType)
isCascadable in interface TraversableResolverCopyright © 2007-2014 Red Hat, Inc. All Rights Reserved