On Martes 23 Febrero 2010 12:35:17 Belliveau, Francis - 0995 - MITLL escribió:
> 1. A Constructor that has an argument for each member variable.
Maybe JXC value constructor plugin could help you in this:
https://jaxb2-commons.dev.java.net/value-constructor/
Also remember that you could use your same model clases (POJOs like JPA
entities classes) as JAXB entities so you can reuse your POJOs instead of
generating new ones with XJC. I have done some of this annotating my JPA
entites with JAXB annotations and then customizing the XSD with external jaxb
binding file telling to XJC that not generate a class but associate an
existing one.
rgds.
xavier