Package jakarta.validation
Interface Path.BeanNode
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>getContainerClass()java.lang.IntegergetTypeArgumentIndex() 
 - 
 
- 
- 
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,ListorMap,nullotherwise - 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,ListorMap. - Since:
 - 2.0
 
 
 - 
 
 -