You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/06/27 08:48:16 UTC

[jira] Created: (SHALE-202) The @Value annotation should be allowed on getter/setter methods in addition to fields

The @Value annotation should be allowed on getter/setter methods in addition to fields
--------------------------------------------------------------------------------------

         Key: SHALE-202
         URL: http://issues.apache.org/struts/browse/SHALE-202
     Project: Shale
        Type: Improvement

  Components: Tiger  
    Reporter: Craig McClanahan


Resolution of SHALE-185 goes part way towards improving the general usability of @Property (nee @Value).  However, it would also be better to allow use of this annotation on a JavaBeans setter or getter method too (where the default property name was derived from the method name, but could still be overridden by the "name" attribute on the annotation).  This would be more consistent with the annotations defined by things like the Java Persistence Architecture, where you can define such annotations on either place.


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