[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jaxme-dev
Subject:    Re: setters for unbunded type (List0
From:       "Jeyaraj" <jeyaraj () addval ! com>
Date:       2007-02-09 6:48:12
Message-ID: 023c01c74c16$3efa48d0$0401a8c0 () addvalindia ! com
[Download RAW message or body]

Hi

I missed to mention that i use jaxme2 0.5.2 as the implementation. Please
arrange to help.

Thanks in advance

Jeyaraj

----- Original Message ----- 
From: "Jeyaraj" <jeyaraj@addval.com>
To: <jaxme-dev@ws.apache.org>
Sent: Thursday, February 08, 2007 9:47 PM
Subject: setters for unbunded type (List0


> Hi
>
> i am in the process of replacing many classes in my project with xsds. The
> java and classes are gnerated dynamically and any change to these base
beans
> will be done thro te corresonding xsd only.
>
> However after about a week or so only i noticed that the generted java
does
> not have the setters for any of the unbounded types. i am pasting below an
> example. the setCommission(java.util.List list) is missing in the
generated
> code.
>
> I am not sure what i am missing and Please advicce and help.
>
> Thanks
>
> Jeyaraj
>
> Schema is
>
> <?xml version="1.0" encoding="UTF-8"?>
> <schema
>  targetNamespace="http://test.com/quote"
>      xmlns="http://www.w3.org/2001/XMLSchema"
>      xmlns:qu="http://test.com/quote"
>      xmlns:cu="http://test.com//customer"
>      xmlns:ge="http://test.com/cfc/general"
>      xml:lang="EN"
>      elementFormDefault="qualified">
>
>  <complexType name="Sale">
>    <sequence>
>     <element name="commission"    type="qu:Commission"   minOccurs="0"
> maxOccurs="unbounded"/>
>    </sequence>
>  </complexType>
>
>  <complexType name="Commission">
>    <sequence>
>     <element name="amount"    type="double"/>
>     <element name="currency"   type="string"/>
>    </sequence>
>  </complexType>
> </schema>
>
>
> generated java
> -----------------
> package com.test.quote;
>
> public interface Quote {
>   public java.util.List getCommission();
> }
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: jaxme-dev-help@ws.apache.org
>


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic