Title: castor xml collection handling

Hi,

I just realized that castor xml mapping doesn't use setter methods, but instead obtains the collection using getX() where X is an arraylist (and is mapped as such in the mapping xml file), and then populates the collection.  This took for ever to figure out...is there any reason why the collection isn't created and fed in through the setter?  Also, I noticed that the xml mapping doco doesn't mention this...if this is expected functionality it might be a good idea to put a note on the doco so people don't get tripped up.  fyi, I'm using castor 9.5.3 release version.

Cheers
Adam

Important notice: This message is intended for the individual(s) and entity(s) addressed. The information contained in this transmission and any attached, may be confidential and may also be the subject of legal privilege, public interest immunity or legal professional privilege. Any review, retransmission, dissemination or other use of, taking of any action in reliance upon this information by person or entities other than the recipient is prohibited and requires authorization from the sender. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person) you may not copy or deliver this message to anyone. In such cases you should destroy this message and kindly notify the sender by reply email.

WARNING: Although Infocomp has taken reasonable precautions so that no viruses are present in this e-mail, the company cannot accept responsibility for any loss or damage arising from the use of e-mail attachments.

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

Reply via email to