Announcement Announcement Module
No announcement yet.
Support for collection fields Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Support for collection fields

    Hey guys,

    How would you generate an attribute ArrayList<Double> or TreeSet<String> in a java class from Roo command line ?

    I couldn't find any issue in jira regarding the need to support Collection field.
    "field set --type java.lang.String --fieldName basicList" would have been a quite obvious way to do it, but it generates an error, as the "set" command seems to be reserved for domain types only.

    Any clue ?
    Any planned release to cover this need ?
    Thank you in advance for your help.

    By the way, ROO ROCKS!

  • #2
    Seriously guys,
    One of the main powerful features regarding data modelling with GAE is the List property. I can't imagine how to deal without it in a GAE-based CRUD.

    Have some of you any thoughts about how to generate a Collection field in an entity with Roo ? (be it Set, List, or their related like TreeSet, ArrayList, ...).