Class ValidationTraversableResolver

java.lang.Object
io.jmix.core.impl.validation.ValidationTraversableResolver
All Implemented Interfaces:
jakarta.validation.TraversableResolver

@Component("core_ValidationTraversableResolver") public class ValidationTraversableResolver extends Object implements jakarta.validation.TraversableResolver
  • Field Details

    • metadata

      @Autowired protected Metadata metadata
    • entityStates

      @Autowired protected EntityStates entityStates
  • Constructor Details

    • ValidationTraversableResolver

      public ValidationTraversableResolver()
  • Method Details

    • isReachable

      public final 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