AW: AW: clone list
Brought to you by:
chanscte,
schulte2005
From: Schuster, A. <ale...@ca...> - 2010-05-12 10:35:33
|
Attachment 2nd try -----Ursprüngliche Nachricht----- Von: Schuster, Alexander [mailto:ale...@ca...] Gesendet: Mittwoch, 12. Mai 2010 12:31 An: CC-XJC Users Betreff: AW: AW: clone list Hi Christian, thanks for your fast response. I created an example in order to be able to comprehend the problem. The according .xsd as well as the generated classes are attached to this e-mail. During compilation the following error occurs: target\generated-sources\xjc\com\mycompany\mynamespace\TypeA.java:[80,65] cannot find symbol symbol : method clone() location: interface java.util.List<com.mycompany.mynamespace.TypeC> Thank you very much for any assistance Alex -----Ursprüngliche Nachricht----- Von: Christian Schulte [mailto:sch...@us...] Gesendet: Montag, 10. Mai 2010 23:19 An: CC-XJC Users Betreff: Re: AW: clone list Schuster, Alexander schrieb: > > For the member > protected List<DeviceInformation> members = new > ArrayList<DeviceInformation>(); > > the plugin generates the following line in the copy-constructor > this.members = ((o.getMembers() == null)?null:o.getMembers().clone()); > > with the help of the method > public List<DeviceInformation> getMembers() { > return members; > } > Could you please provide a schema(fragment) used to produce that code ? -- Christian ------------------------------------------------------------------------------ _______________________________________________ ccxjc-users mailing list ccx...@li... https://lists.sourceforge.net/lists/listinfo/ccxjc-users ------------------------------------------------------------------------------ _______________________________________________ ccxjc-users mailing list ccx...@li... https://lists.sourceforge.net/lists/listinfo/ccxjc-users |