|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ConstraintValidatorContext.ErrorBuilder.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 |
addError()
Add the new error report to be generated if the constraint validator mark the value as invalid. |
ConstraintValidatorContext.ErrorBuilder.NodeBuilderCustomizableContext |
addSubNode(java.lang.String name)
Add a subNode to the path the error will be associated to. |
ConstraintValidatorContext.ErrorBuilder.NodeBuilderDefinedContext |
atIndex(java.lang.Integer index)
Define the index the object is into the List or array |
ConstraintValidatorContext.ErrorBuilder.NodeBuilderDefinedContext |
atKey(java.lang.Object key)
Define the key the object is into the Map |
Method Detail |
---|
ConstraintValidatorContext.ErrorBuilder.NodeBuilderDefinedContext atKey(java.lang.Object key)
key
- map key
ConstraintValidatorContext.ErrorBuilder.NodeBuilderDefinedContext atIndex(java.lang.Integer index)
index
- index
ConstraintValidatorContext.ErrorBuilder.NodeBuilderCustomizableContext addSubNode(java.lang.String name)
name
describes a single property. In particular,
dot (.) are not allowed.
name
- property name
ConstraintValidatorContext addError()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |