Package jakarta.validation
Interface Path.PropertyNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>
getContainerClass()
java.lang.Integer
getTypeArgumentIndex()
-
-
-
Method Detail
-
getContainerClass
java.lang.Class<?> getContainerClass()
- Returns:
- the type of the container the node is placed in, if contained in a
container type such as
Optional
,List
orMap
,null
otherwise - Since:
- 2.0
-
getTypeArgumentIndex
java.lang.Integer getTypeArgumentIndex()
- Returns:
- the index of the type argument affected by the violated constraint, if
contained in a generic container type such as
Optional
,List
orMap
,null
otherwise - Since:
- 2.0
-
-