|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext
Represent a node whose context is configurable (ie index, key and isInIterable)
| 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.NodeContextBuilder |
inIterable()
Mark the node as being in an Iterable or a Map |
| Method Detail |
|---|
ConstraintValidatorContext.ConstraintViolationBuilder.NodeContextBuilder inIterable()
Iterable or a Map
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addNode(java.lang.String name)
ConstraintViolation will be associated to.
name describes a single property. In particular,
dot (.) are 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
|
DRAFT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.
Generated on 24-November-2009 03:24