Normally the JAXB generated classes will not contain set methods for collections (The idea here is to access collections only using get as the basis assumption is the change only happens to the contents of the collection)