I generated some classes using SourceGenerator and then generated a mapping
xml file using MappingTool passing the top level autogenerated class as
input.
SourceGenerator autogenerated class has form:
public class SomeClass ... {
...
private Vector _fooList
...
public Foo[] getX() {...}
MappingTool generated mapping xml file contains an entry of the form:
<class cst:name="SomeClass">...<field cst:name="fooList"
cst:type="Foo" cst:required="true" cst:collection="enumerate">
When I invoke the unmarshaller I get an error because SomeClass does not
define the method getFooList returning object of type interface Enumeration.
I have to modify the mapping xml to get the (un)marshalling to work.
Is there anything I can do to configure SourceGenerator/MappingTool to
generate classes and a mapping xml file that work together without having to
modify the mapping xml?
Thanks,
Alan
Vodafone Global Content Services Limited
Registered Office:Vodafone House, The Connection, Newbury, Berkshire RG14 2FN
Registered in England No. 4064873
This e-mail is for the addressee(s) only. If you are not an addressee, you
must not distribute, disclose, copy, use or rely on this e-mail or its
contents, and you must immediately notify the sender and delete this e-mail
and all copies from your system. Any unauthorised use may be unlawful. The
information contained in this e-mail is confidential and may also be legally
privileged.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev