Results 1 to 2 of 2

Thread: Support for collection fields

  1. #1
    Join Date
    Jan 2011
    Posts
    17

    Default 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. #2
    Join Date
    Jan 2011
    Posts
    17

    Default

    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, ...).

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •