Package jakarta.validation
Interface Path.PropertyNode
-
- All Superinterfaces:
Path.Node
- All Known Subinterfaces:
PropertyNode
- All Known Implementing Classes:
NodeImpl
- Enclosing interface:
- Path
public static interface Path.PropertyNode extends Path.Node
Node representing a property.- Since:
- 1.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>getContainerClass()IntegergetTypeArgumentIndex()
-
-
-
Method Detail
-
getContainerClass
Class<?> getContainerClass()
- Returns:
- the type of the container the node is placed in, if contained in a
container type such as
Optional,ListorMap,nullotherwise - Since:
- 2.0
-
getTypeArgumentIndex
Integer getTypeArgumentIndex()
- Returns:
- the index of the type argument affected by the violated constraint, if
contained in a generic container type such as
Optional,ListorMap,nullotherwise - Since:
- 2.0
-
-