users@jaxb.java.net

Re: missing setWhatever()

From: Malachi de AElfweald <malachi_at_EOTI.ORG>
Date: Thu, 27 Mar 2003 11:46:32 -0700

On Fri, 28 Mar 2003 02:10:43 +0800, Robert Lowe <rmlowe_at_rmlowe.com> wrote:

>JAXB will never generate setters for Lists. You don't need them because the
>List returned by the getter is mutable--just call the getter and modify the
>List it returns.

Hmmm. Ok, I can work with that. Not very intuitive though. Wasn't the standard for get/set started back with the JavaBeans stuff? Personally, I think there should be a set method, so that the API is consistent. But, as I said, I can work around that.

Malachi