Package javax.validation
Interface Path.BeanNode
- All Superinterfaces:
Path.Node
- Enclosing interface:
- Path
Node representing a bean.
- Since:
- 1.1
-
Method Summary
-
Method Details
-
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
-