or Map.
 If the iterator is an indexed collection or a map,
 the index or the key should be set.
 
atKey
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atKey(java.lang.Object key)
- Define the key the object is into the 
Map
- Parameters:
 key - map key
- Returns:
 - a builder representing the current node
 
 
 
atIndex
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderDefinedContext atIndex(java.lang.Integer index)
- Define the index the object is into the 
List or array
- Parameters:
 index - index
- Returns:
 - a builder representing the current node
 
 
 
addNode
ConstraintValidatorContext.ConstraintViolationBuilder.NodeBuilderCustomizableContext addNode(java.lang.String name)
- Add a node to the path the 
ConstraintViolation will be associated to.
 name describes a single property. In particular,
 dot (.) is not allowed.
- Parameters:
 name - property name
- Returns:
 - a builder representing this node
 
 
 
addConstraintViolation
ConstraintValidatorContext addConstraintViolation()
- Add the new 
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.
- Returns:
 ConstraintValidatorContext instance the
           ConstraintViolationBuilder comes from
 
 
Submit a bug or feature  Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.  
 Generated on 10-February-2011 12:41