Hello,
I have a XSD with an 1-to-many association defined there. The generated Java
source file with Castor Builder is something like this:
// Details ingnored for simplicity
class MyGeneratedClass {
public Vector getMyItems();
public void setMyItems(Vector v);
// more Vector-related methods...
}
My objective is to make the implementation of the classes independent from
Vector. I tried hand-modified the generated source from using Vector to List.
And it still emits the xml correctly.
Is it possible to set the Castor Builder to use List instead of Vector?
Note that using primitive Array is not desired due to the depedency on Java
Collection throughout the project. And an automated solution with minimal
conversion is preferred.
Thank you very much.
All the best,
Richter Yik
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user