Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1356

Add means to control for which fields the JavaBeans Addon generates getters and setters

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GENERAL OBJECTS
    • Labels:
      None

      Description

      e.g. an annotation on the field that prohibits one of those.

      transient keeps the addon from generating any accessor
      and final keeps it from generating the setter

      but there are no means to control that better.

      What I'd also like are protecting accessor methods for collections.

      like addT(T value);
      and Collection<T> getTs()

      { return Collections.unmodifiableT(this.t); }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              balex Ben Alex
              Reporter:
              mhunger Michael Hunger
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: