Hi, We have a requirement to use collections in the source generated by castor. The getter and setter method returns an array and takes an array as input. Is there a way to change it to take a collection and return a collection.
for example: Order has items with maxOccurs as unbounded. The code is generated as private java.util.Vector itemsList; but the getter and setter methods returns Items[] and takes Items[] as input. Can we generate the code use java.util.List instead of arrays. I have tried using the property org.exolab.castor.builder.extraCollectionMethods=true. It generates some additional methods to operate the list but the getter and setter still uses array. Any help in this regard is highly appreciated. Thanks, sudhir.

