org.apache.openjpa.persistence.validation
Class TraversableResolverImpl
java.lang.Object
org.apache.openjpa.persistence.validation.TraversableResolverImpl
- All Implemented Interfaces:
- TraversableResolver
public class TraversableResolverImpl
- extends Object
- implements TraversableResolver
OpenJPA optimized TraversableResolver Default implementation/behavior asks all discovered providers -
javax.persistence.Persistence.getPersistenceUtil().isLoaded( traversableObject, traversableProperty.getName());
- See Also:
TraversableResolver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraversableResolverImpl
public TraversableResolverImpl()
isReachable
public boolean isReachable(Object traversableObject,
Path.Node traversableProperty,
Class<?> rootBeanType,
Path pathToTraversableObject,
ElementType elementType)
- Specified by:
isReachable
in interface TraversableResolver
isCascadable
public boolean isCascadable(Object traversableObject,
Path.Node traversableProperty,
Class<?> rootBeanType,
Path pathToTraversableObject,
ElementType elementType)
- Specified by:
isCascadable
in interface TraversableResolver
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.