[jira] Updated: (MODELLO-26) Handle enumerations

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown [jira] Updated: (MODELLO-26) Handle enumerations

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MODELLO-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated MODELLO-26:
---------------------------------

    Fix Version/s:     (was: 1.1)

> Handle enumerations
> -------------------
>
>                 Key: MODELLO-26
>                 URL: http://jira.codehaus.org/browse/MODELLO-26
>             Project: Modello
>          Issue Type: Improvement
>          Components: modello-core, modello-plugin-java, modello-plugin-xdoc, modello-plugin-xml, modello-plugin-xpp3, modello-plugin-xsd
>            Reporter: Trygve Laugstol
>
> Modello should be able to generate and handle enumerations.
> [model]: Add reading of <enumeration> tags. Be able to create integer and string type enumerations.
> Integer style enumerations look like this:
>  public final static FOO = 1;
>  public final static BAR = 2;
> String style enumerations look like this:
>  public final static FOO = "foo";
>  public final static BAR = "bar";
> [java]: Enumeration classes like [1] should be generated. The model should only return instances of the generated enumeration class.
> [xpp3]: When reading and writing enumeration fields serialize and deserialize the enumeration.
> [jpox]: Same as for [xpp3].
> [xml-schema]: I'm pretty sure xml-schema can handle something like this.
> [xdoc]: Add documentation support for the different enumeration elements.
> http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/continuum-model/src/main/java/org/apache/maven/continuum/project/ContinuumProjectState.java?rev=170005&view=log

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email