> -----Original Message-----
> From: Martin, Margaret [mailto:[EMAIL PROTECTED]]
> I use generated classes for all of my xml generation, and have had no
> problems. However, let me point out that I care less about adhering to a
> specified schema than I do about simply generating xml from an object that
> can be reinstantiated. The performance has been more than acceptable, but I
> have also made some efforts to maintain a simple object model (Parent
> objects containing collections of children objects, no more than probably 2
> levels deep. I am also always marshalling using the generated class
> descriptors and never with reflection or a special mapping file.

Well, we use mapping files, but this seems to work fine so far.

> Also, the getters and setters that you were mentioning - aren't they already
> generated using the source code generation?

Hmmm, we don't use the code generator, we are defining the getter and setters
manually.
AFAIK, the
<CollectionType> get<Name> ()
set<Name> (<CollectionType> collection)
methods are generated. But these are not the ones I would like to have.
But anyway, you pointed me to the solution in your last posting.

Thanks again,

Heiko Erhardt
skynamics AG
www.skynamics.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to