Package jakarta.validation
Interface Path.BeanNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class<?>
getContainerClass()
Integer
getTypeArgumentIndex()
-
-
-
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
,List
orMap
,null
otherwise - 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
,List
orMap
. - Since:
- 2.0
-
-