-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Boolean getters plugin #65
Comments
Is that plugin meant for fixing the common problem of |
Hi @mattrpav and @highsource, |
Hi @AndreasIgelCC One of the plugin was BooleanGetter plugin : which generate getXXX instead of isXXX method for boolean Wiki documentation of that plugin is here This plugin is available in v4.x of jaxb-tools, starting with 4.0.2 Do you need them in jaxb2-basics for jaxb2 ? |
Currently we fix that with a search/replace script after generation of Java-Files. The generation of "public Boolean isField()" is an error, because default XML-Parsers get problems afterwards with that. So if you are able to fix that in jaxb2-basics too, that would be great! |
For jaxb 2.x, you could use the following : <dependency>
<groupId>org.andromda.thirdparty.jaxb2_commons</groupId>
<artifactId>booleangetter</artifactId>
<version>1.0</version>
</dependency> For jaxb 4, you can use the |
Thank you for the response and the hints. I will take that into project team and having a check on it. |
Feel free to comment again when your investigations are done 😄 |
highsource/jaxb-tools#460 will be backported in jaxb-tools v2 so will be available too with up-to-date versions when v2.x will be released |
http://jira.highsource.org/browse/JIIB-21
The text was updated successfully, but these errors were encountered: