Class 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
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TraversableResolverImpl

        public TraversableResolverImpl()
    • 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 interface jakarta.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 interface jakarta.validation.TraversableResolver