axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Gamage (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2C-1133) Better support for string-type enemerations in the ADB code generator
Date Tue, 13 May 2008 10:40:55 GMT

     [ https://issues.apache.org/jira/browse/AXIS2C-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dimuthu Gamage resolved AXIS2C-1133.
------------------------------------

    Resolution: Fixed

Patch is applied. Thanks

> Better support for string-type enemerations in the ADB code generator
> ---------------------------------------------------------------------
>
>                 Key: AXIS2C-1133
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1133
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: code generation
>            Reporter: Sérgio Gomes
>            Priority: Minor
>         Attachments: string_enumeration_support.diff
>
>
> As discussed in axis-c-user@ws.apache.org (and CC'ed in axis-c-dev), this patch adds
support for a more "C-like" handling of string-type enumerations, by allowing values to be
read and written with a native enum structure.
> Summary of changes:
> src/org/apache/axis2/schema/writer/CStructWriter.java:
>  - Capitalize and normalize (i.e., remove invalid characters) the "id" property in enumFacet
tags
> src/org/apache/axis2/schema/template/CADBBeanTemplateHeader.xsl:
>  - Generate enum declaration
>  - Generate declarations for specialized enum getter and setter
> src/org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl
>  - Generate specialized getter and setter; the data is still stored in string format,
these functions simply convert back and forth

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message