|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder
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.
| Method Summary | |
|---|---|
ConstraintValidatorContext |
addConstraintViolation()
Add the new ConstraintViolation to be generated if the
constraint validator mark the value as invalid. |
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext |
addNode(java.lang.String name)
Add a node to the path the ConstraintViolation will be associated to. |
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext |
atIndex(java.lang.Integer index)
Define the index the object is into the List or array |
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext |
atKey(java.lang.Object key)
Define the key the object is into the Map |
| Method Detail |
|---|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atKey(java.lang.Object key)
Map
key - map key
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atIndex(java.lang.Integer index)
List or array
index - index
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addNode(java.lang.String name)
ConstraintViolation will be associated to.
name describes a single property. In particular,
dot (.) is not allowed.
name - property name
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 return 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 | ||||||||
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34