What tool are you using to start source code generation ? Ant ? Maven ? 

Werner

> -----Ursprüngliche Nachricht-----
> Von: Sébastien PERES-LABOURDETTE - Public [mailto:sebastien.peres-
> [EMAIL PROTECTED]
> Gesendet: Montag, 02. April 2007 10:28
> An: Castor User
> Betreff: [castor-user] Castor Xsd -> Jdo mapping
> 
> Hi.
> 
> I have an xsd file containing an element :
> 
>     <xs:element name="ncf">
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element ref="bl" minOccurs="0" maxOccurs="unbounded"/>
>                 <xs:element ref="nature" minOccurs="1" maxOccurs="1" />
>             </xs:sequence>
>              ......
> 
> SourceGenerator generates a getter :
> 
>     public com.omerin.nc.jdo.Bl[] getBl() {
>         com.omerin.nc.jdo.Bl[] array = new com.omerin.nc.jdo.Bl[0];
>         return (com.omerin.nc.jdo.Bl[]) this._blList.toArray(array);
>     }
> 
> This getter returns an array, is there a way to make it return an
> arrayList ?
> 
> Thanks
> 
> --
> Sébastien PERES-LABOURDETTE
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email


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

    http://xircles.codehaus.org/manage_email

Reply via email to