Search code examples
javacxfdeep-copycloneable

CXF: Cloneable classes from wsdl2java?


Is it possible to have CXF's wsdl2java emit cloneable classes? Maybe via some option or a plug-in?

What I need to do is copy by value a rather complex schema structure from one object tree to another and would rather not get/set each member value by hand or touch the generated classes by hand.

/Björn


Solution

  • Now I've implemented and contributed an XJC plugin that emits cloneable classes: https://issues.apache.org/jira/browse/CXF-3354