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 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 interface jakarta.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 interface jakarta.validation.TraversableResolver