Package io.jmix.core.impl.validation
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCascadable
(Object traversableObject, jakarta.validation.Path.Node traversableProperty, Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, ElementType elementType) final boolean
isReachable
(Object traversableObject, jakarta.validation.Path.Node traversableProperty, Class<?> rootBeanType, jakarta.validation.Path pathToTraversableObject, ElementType elementType)
-
Field Details
-
metadata
-
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 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
-