[prev in list] [next in list] [prev in thread] [next in thread]
List: castor-dev
Subject: Re: [castor-dev] Design issue: Overly producing value objects
From: "Arnaud Blandin" <blandin () intalio ! com>
Date: 2002-12-31 12:50:24
[Download RAW message or body]
Hi Simon,
You can use the 'type' method for generating the classes. For more
information, please take a look at:
http://www.castor.org/sourcegen.html#Class-Creation/Mapping
Bear in mind that castor generates Java classes to represent the
hierarchy defined in your XML Schema so if you have defined 100
top-level elements it is natural to expect 100 classes generated.
Arnaud
> -----Original Message-----
> From: Simon See [mailto:simon.see@apis.dhl.com]
> Sent: Tuesday, December 31, 2002 8:19 AM
> To: castor-dev@exolab.org
> Subject: [castor-dev] Design issue: Overly producing value objects
>
> Dear Castor people,
>
> We are currently evaluating on using Castor in the area of XML
binding.
> (No, we 're not interested in the O/R mapping side).
>
> We just expect inputs of several XML files, unmarshall to some value
> objects and process it.
>
> We use the Castor source code generator thus far, but we're shocked to
> see so many value objects generated. This totally rock our current
> design of those the expected value objects.
>
> Does anyone know how to 'limit' the generation of value objects? I
don't
> need relationship much, in fact I would prefer a coarse grain value
> objects as opposed to 100s of fine grain ones.
>
>
> PS: Ashish, maybe you can post a snippet of the XML schema and sample
> value object class name to the kind folks here as input to their
thoughts.
>
> Thank you.
>
> Simon See.
> (60)(3)8315 8445
>
> DHL WorldWide Express
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> minimalist@exolab.org with a subject of:
> unsubscribe castor-dev
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
minimalist@exolab.org with a subject of:
unsubscribe castor-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic