[seam-issues] [JBoss JIRA] Created: (SEAMVALIDATE-11) Investigate how getter constraints might be applied to setter methods
Gunnar Morling (JIRA)
jira-events at lists.jboss.org
Tue Mar 8 18:52:45 EST 2011
Investigate how getter constraints might be applied to setter methods
---------------------------------------------------------------------
Key: SEAMVALIDATE-11
URL: https://issues.jboss.org/browse/SEAMVALIDATE-11
Project: Seam Validation
Issue Type: Feature Request
Reporter: Gunnar Morling
Assignee: Gunnar Morling
The Bean Validation API specifies that JavaBean-styled getter methods can be annotated with constraints to define property constraints. Using method validation these constraints are automatically evaluated when a getter method is invoked.
It shall be investigated how these constraints can also be validated when the according setter method is invoked (then applying to the setter parameter). That way it could be ensured that illegal values can't be stored in the bean at all.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list