[hibernate-issues] [Hibernate-JIRA] Commented: (HV-105) Replace recursive validation algorithm with a ConstraintIterator

Hardy Ferentschik (JIRA) noreply at atlassian.com
Sat Mar 7 03:51:38 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32595#action_32595 ] 

Hardy Ferentschik commented on HV-105:
--------------------------------------

Actually a Visitor might be a better fit.

> Replace recursive validation algorithm with a ConstraintIterator
> ----------------------------------------------------------------
>
>                 Key: HV-105
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-105
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: engine
>            Reporter: Hardy Ferentschik
>            Assignee: Hardy Ferentschik
>            Priority: Minor
>
> Introduce a ConstraintValidator which given a bean finds all constraints to validate and makes them accessible for validation via an iterator. This algorithm might be easier to understand then the current recursive one.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list