posted 9 years ago
Hello All,
I'm trying to generate JAXB generated objects for the below sample xsd.
and the class that gets generated without any custom bindings is
as you see the field name is "usa" and setters/getters are getUSA/setUSA.
Is there any custom setting/binding to have the field name also be generated as "USA" instead of "usa", that way the field and property are all "USA". I do not have a problem with marshalling/unmarshalling using JAXB, but while using Jackson I'm having trouble if I need to return a List of USA and No setter being generated in that case.
There may be various ways of solving this problem, but I would like to start exploring the option of having the field name generated as "USA". Is it possible ?
Thanks