You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a very special use case and wasted some days without a solution now. I have multiple WSDLs with one same type inside which are unable to be edited.
I want to create an abstract class to change some behaviour of this class.
Is it possible using JAXB and your Inheritance plugin to not generate all the fields of the complexType but leave those setters and getters inside?
abstractclassFoo {
protectedStringa = "someDefault"
}
classBarFromWSDLextendsFoo {
voidsetA(value: String) { a = value }
StringgetA() { returna; }
}
Currently those values are overwritten by the generated class which generates a new field with the XML annotations and with protected accessor. Something like this:
Hi guys,
I have a very special use case and wasted some days without a solution now. I have multiple WSDLs with one same type inside which are unable to be edited.
I want to create an abstract class to change some behaviour of this class.
Is it possible using JAXB and your Inheritance plugin to not generate all the fields of the complexType but leave those setters and getters inside?
Currently those values are overwritten by the generated class which generates a new field with the XML annotations and with protected accessor. Something like this:
Thank you!
The text was updated successfully, but these errors were encountered: