Package jakarta.validation
Interface Path
-
public interface Path extends Iterable<Path.Node>
Represents the navigation path from an object to another in an object graph. Each path element is represented by aNode
.The path corresponds to the succession of nodes in the order they are returned by the
Iterator
.- Author:
- Emmanuel Bernard, Gunnar Morling, Guillaume Smet
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Path.BeanNode
Node representing a bean.static interface
Path.ConstructorNode
Node representing a constructor.static interface
Path.ContainerElementNode
Node representing an element in a generic container such asOptional
,List
orMap
.static interface
Path.CrossParameterNode
Node representing the element holding cross-parameter constraints of a method or constructor.static interface
Path.MethodNode
Node representing a method.static interface
Path.Node
Represents an element of a navigation path.static interface
Path.ParameterNode
Node representing a parameter of a method or constructor.static interface
Path.PropertyNode
Node representing a property.static interface
Path.ReturnValueNode
Node representing the return value of a method or constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
toString()
Returns a human-readable representation of this path.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-