Class TraversableResolverImpl
java.lang.Object
org.apache.openjpa.persistence.validation.TraversableResolverImpl
- All Implemented Interfaces:
jakarta.validation.TraversableResolver
public class TraversableResolverImpl
extends Object
implements jakarta.validation.TraversableResolver
OpenJPA optimized TraversableResolver Default implementation/behavior asks all discovered providers -
jakarta.persistence.Persistence.getPersistenceUtil().isLoaded( traversableObject, traversableProperty.getName());
- See Also:
-
TraversableResolver
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCascadable
(Object traversableObject, jakarta.validation.Path.Node traversableProperty, Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, ElementType elementType) boolean
isReachable
(Object traversableObject, jakarta.validation.Path.Node traversableProperty, Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, ElementType elementType)
-
Constructor Details
-
TraversableResolverImpl
public TraversableResolverImpl()
-
-
Method Details
-
isReachable
public boolean isReachable(Object traversableObject, jakarta.validation.Path.Node traversableProperty, Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, ElementType elementType) - Specified by:
isReachable
in interfacejakarta.validation.TraversableResolver
-
isCascadable
public boolean isCascadable(Object traversableObject, jakarta.validation.Path.Node traversableProperty, Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, ElementType elementType) - Specified by:
isCascadable
in interfacejakarta.validation.TraversableResolver
-