users@jaxb.java.net

Value Constructor issue

From: Belliveau, Francis - 0995 - MITLL <belliveau_at_ll.mit.edu>
Date: Wed, 24 Feb 2010 11:18:47 -0500

The project originally had a large number of objects which sub-classed the XJC generated classes for the sole purpose of adding value constructors and sometimes some minor functionality in some setters. These sub-classes objects are causing problems so I figured that I would use the value constructor plug-in to get rid of these empty classes and write my own plug-in for our custom needs. However, the constructors being generated assign the members rather than using the setter functions.

Looking over the discussions for this plug-in I see that there are supposed to be some configuration choices that I do not see any documentation for.

Where can I find the documentation on how to configure this plug-in?
If there is no "use setters" option, where could I get the source code to add one?

Fran