JPATraversableResolver to optimize calls.
It should only be used to wrap a JPATraversableResolver as it relies on the contract defined in the Bean
Validation specification.
It works only for a single validate* call and should not be used if TraversableResolver is accessed
concurrently.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final TraversableResolver | |
| private final HashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isCascadable(Object
object hosting traversableObject, Path.traversableProperty
or null if validateValue is calledthe traversable property traversableProperty,type of the root object passed to the Validator
or hosting the method or constructor validated rootBeanType, Path path from the root object to
pathToTraversableObject, ElementType traversableObject
(using the path specification defined by Bean Validation)either elementType)FIELD or METHODImplements jakarta. @Valid.
|
| public boolean | isReachable(Object
object hosting traversableObject, Path.traversableProperty
or null if validateValue is calledthe traversable property traversableProperty,type of the root object passed to the Validator
or hosting the method or constructor validated rootBeanType, Path path from the root object to
pathToTraversableObject, ElementType traversableObject
(using the path specification defined by Bean Validation)either elementType)FIELD or METHODImplements jakarta. |
| delegate | back to summary |
|---|---|
| private final TraversableResolver delegate | |
| traversables | back to summary |
|---|---|
| private final HashMap<CachingJPATraversableResolverForSingleValidation. | |
| CachingJPATraversableResolverForSingleValidation | back to summary |
|---|---|
| public CachingJPATraversableResolverForSingleValidation(TraversableResolver delegate) | |
| isCascadable | back to summary |
|---|---|
| public boolean isCascadable(Object traversableObject, Path. Implements jakarta. Doc from jakarta. Determines if the Jakarta Bean Validation provider is allowed to cascade validation on
the bean instance returned by the property value
marked as
Note that this method is called only if
| |
| isReachable | back to summary |
|---|---|
| public boolean isReachable(Object traversableObject, Path. Implements jakarta. Doc from jakarta. Determines if the Jakarta Bean Validation provider is allowed to reach the property state.
| |
| Access | Constructor and Description |
|---|---|
| private |
| TraversableHolder | back to summary |
|---|---|
| private TraversableHolder(Object traversableObject, Path. | |