Class TraversableResolverImpl
- java.lang.Object
-
- org.apache.openjpa.persistence.validation.TraversableResolverImpl
-
- All Implemented Interfaces:
jakarta.validation.TraversableResolver
public class TraversableResolverImpl extends java.lang.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
Constructors Constructor Description TraversableResolverImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCascadable(java.lang.Object traversableObject, jakarta.validation.Path.Node traversableProperty, java.lang.Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, java.lang.annotation.ElementType elementType)
boolean
isReachable(java.lang.Object traversableObject, jakarta.validation.Path.Node traversableProperty, java.lang.Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, java.lang.annotation.ElementType elementType)
-
-
-
Method Detail
-
isReachable
public boolean isReachable(java.lang.Object traversableObject, jakarta.validation.Path.Node traversableProperty, java.lang.Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, java.lang.annotation.ElementType elementType)
- Specified by:
isReachable
in interfacejakarta.validation.TraversableResolver
-
isCascadable
public boolean isCascadable(java.lang.Object traversableObject, jakarta.validation.Path.Node traversableProperty, java.lang.Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, java.lang.annotation.ElementType elementType)
- Specified by:
isCascadable
in interfacejakarta.validation.TraversableResolver
-
-