Danny,

This may provide you with code that looks more like what you want:

http://castor.codehaus.org/xml-faq.html#How-can-I-make-the-generated-source-code-more-JDO-friendly?

--Keith

Danny Collins wrote:
Hello,

I have just started working with Castor and the source generator.  I
am trying to make a nice generic process to adapt one set of objects
to the graph of castor objects and I am getting stuck when it comes to
lists.

Castor seems to insist on providing a getter and setter that return
and accept an Array of the specific type of objects instead of just
the JavaBean style of getter and setter for the List that it is
interfacing with.

Is there any way to over come this default behavior and have the
getters and setters generated with List getX() and setX(List)?


TIA,
Danny

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------




-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to