In your generated classes, do you see a comment along the lines of:
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the XXX property.
Joined: Jan 09, 2007
Yes it does and the solution was in the comments itself. As far as the reason is concerned i guess google will suffice. Thanks for pointing out.