Uploaded image for project: 'Shale'
  1. Shale
  2. SHALE-202

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • TBD
    • Tiger
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            craigmcc Craig R. McClanahan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: