|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeContextBuilder
Represent refinement choices for a node which is
in an Iterator
or Map
.
If the iterator is an indexed collection or a map,
the index or the key should be set.
The node is a leaf node (ie. no subnode can be added).
Method Summary | |
---|---|
ConstraintValidatorContext |
addConstraintViolation()
Add the new ConstraintViolation to be generated if the
constraint validator mark the value as invalid. |
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext |
atIndex(Integer index)
Define the index the object is into the List or array |
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext |
atKey(Object key)
Define the key the object is into the Map |
Method Detail |
---|
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext atKey(Object key)
Map
key
- map key
ConstraintValidatorContext.ConstraintViolationBuilder.LeafNodeBuilderDefinedContext atIndex(Integer index)
List
or array
index
- index
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 |