Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 58552 invoked from network); 7 Aug 2006 05:08:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 05:08:37 -0000 Received: (qmail 7679 invoked by uid 500); 7 Aug 2006 05:08:10 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 6919 invoked by uid 500); 7 Aug 2006 05:08:07 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 6613 invoked by uid 500); 7 Aug 2006 05:08:06 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 6322 invoked by uid 99); 7 Aug 2006 05:08:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 22:08:05 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Aug 2006 21:49:34 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id E28EA1A981A; Sun, 6 Aug 2006 21:49:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r429238 [1/4] - in /webservices/axis2/trunk/java/modules/adb-codegen: src/org/apache/axis2/schema/ src/org/apache/axis2/schema/template/ src/org/apache/axis2/schema/writer/ test-resources/xsd/ test/org/apache/axis2/schema/compile/ Date: Mon, 07 Aug 2006 04:49:11 -0000 To: axis2-cvs@ws.apache.org From: dims@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060807044912.E28EA1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: dims Date: Sun Aug 6 21:49:10 2006 New Revision: 429238 URL: http://svn.apache.org/viewvc?rev=429238&view=rev Log: Checking in Maryam's patch to AXIS2-946 - Adding Simple Content Extension Support to ADB Added: webservices/axis2/trunk/java/modules/adb-codegen/test-resources/xsd/simple_content_extension.xsd webservices/axis2/trunk/java/modules/adb-codegen/test/org/apache/axis2/schema/compile/SimpleContentExtensionTest.java Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/BeanWriterMetaInfoHolder.java webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/BeanWriterMetaInfoHolder.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/BeanWriterMetaInfoHolder.java?rev=429238&r1=429237&r2=429238&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/BeanWriterMetaInfoHolder.java (original) +++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/BeanWriterMetaInfoHolder.java Sun Aug 6 21:49:10 2006 @@ -38,7 +38,9 @@ protected boolean choice = false; protected boolean extension = false; + protected boolean restriction = false; private String extensionClassName = ""; + private String restrictionClassName = ""; protected Map elementToSchemaQNameMap = new LinkedHashMap(); protected Map elementToJavaClassMap = new LinkedHashMap(); protected Map specialTypeFlagMap = new LinkedHashMap(); @@ -147,6 +149,38 @@ this.extension = extension; } + public String getRestrictionClassName() { + return restrictionClassName; + } + + /** + * Sets the restriction base class name. Valid only when the isRestriction + * returns true. + * + * @param restrictionClassName + */ + public void setRestrictionClassName(String restrictionClassName) { + this.restrictionClassName = restrictionClassName; + } + + /** + * Gets the restriction status. + * + * @return Returns boolean. + */ + public boolean isRestriction() { + return restriction; + } + + /** + * Sets the restriction status. + * + * @param restriction + */ + public void setRestriction(boolean restriction) { + this.restriction = restriction; + } + /** * Gets the ordered status. * --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org