Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 18423 invoked from network); 13 May 2008 10:41:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 May 2008 10:41:17 -0000 Received: (qmail 67270 invoked by uid 500); 13 May 2008 10:41:18 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 67125 invoked by uid 500); 13 May 2008 10:41:18 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 67114 invoked by uid 99); 13 May 2008 10:41:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 03:41:18 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2008 10:40:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 92EFF234C10C for ; Tue, 13 May 2008 03:40:55 -0700 (PDT) Message-ID: <1083201882.1210675255587.JavaMail.jira@brutus> Date: Tue, 13 May 2008 03:40:55 -0700 (PDT) From: "Dimuthu Gamage (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2C-1133) Better support for string-type enemerations in the ADB code generator In-Reply-To: <844617565.1210669256263.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-1133?page=3Dcom.atlassi= an.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=C3=A9rgio 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 enumeration= s, 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" pr= operty 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 st= ring format, these functions simply convert back and forth --=20 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