Package io.jmix.core.impl.validation
Class ValidationTraversableResolver
java.lang.Object
io.jmix.core.impl.validation.ValidationTraversableResolver
- All Implemented Interfaces:
javax.validation.TraversableResolver
@Component("core_ValidationTraversableResolver")
public class ValidationTraversableResolver
extends Object
implements javax.validation.TraversableResolver
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isCascadable
(Object traversableObject, javax.validation.Path.Node traversableProperty, Class<?> rootBeanType, javax.validation.Path pathToTraversableObject, ElementType elementType) final boolean
isReachable
(Object traversableObject, javax.validation.Path.Node traversableProperty, Class<?> rootBeanType, javax.validation.Path pathToTraversableObject, ElementType elementType)
-
Field Details
-
metadata
-
entityStates
-
-
Constructor Details
-
ValidationTraversableResolver
public ValidationTraversableResolver()
-
-
Method Details
-
isReachable
public final boolean isReachable(Object traversableObject, javax.validation.Path.Node traversableProperty, Class<?> rootBeanType, javax.validation.Path pathToTraversableObject, ElementType elementType) - Specified by:
isReachable
in interfacejavax.validation.TraversableResolver
-
isCascadable
public boolean isCascadable(Object traversableObject, javax.validation.Path.Node traversableProperty, Class<?> rootBeanType, javax.validation.Path pathToTraversableObject, ElementType elementType) - Specified by:
isCascadable
in interfacejavax.validation.TraversableResolver
-