|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
Represents refinement choices for a node which is
in an Iterator or Map.
| Method Detail |
|---|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atKey(Object key)
Map.
key - map key
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atIndex(Integer index)
List or array.
index - index
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addNode(String name)
addPropertyNode(String)
and addBeanNode()
ConstraintViolation will be associated to.
name describes a single property. In particular,
dot (.) is not allowed.
name - property name
nameConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addPropertyNode(String name)
ConstraintViolation
will be associated to.
name describes a single property. In particular,
dot (.) is not allowed.
name - property name
name
IllegalArgumentException - if the name is nullConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderCustomizableContext addBeanNode()
ConstraintViolation
will be associated to.
Note that bean nodes are always leaf nodes.
ConstraintValidatorContext addConstraintViolation()
ConstraintViolation to be generated if the
constraint validator mark the value as invalid.
Methods of the ConstraintViolationBuilder instance this object
comes from and the constraint violation builder nested
objects throw IllegalStateException after this call.
ConstraintValidatorContext instance the
ConstraintViolationBuilder comes from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||