Issue Type: New Feature New Feature
Assignee: Unassigned
Components: engine
Created: 07/Aug/12 6:17 PM
Description:

The current validation methods return Set<ConstraintViolation> which forces users into string parsing in order to "navigate" to sub-properties and nested beans.

The suggestion is to add validation methods that return the ConstraintViolation's as a graph of nodes.

I think that the required node types are the same as the metadata descriptors from BV 1.1:

BeanNode (updated to match BV 1.1 style descriptors)
PropertyNode

ConstructorNode
MethodNode
ParameterNode
ReturnValueNode

I also suggest to add special nodes for bean-properties/method-parameters that are of types List/Map:

ListNode
MapNode

Project: Hibernate Validator
Priority: Major Major
Reporter: George Sapountzis
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira