Skip to content
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

Codegen customization to remove setters for lists #11

Open
goneall opened this issue Sep 14, 2020 · 0 comments
Open

Codegen customization to remove setters for lists #11

goneall opened this issue Sep 14, 2020 · 0 comments

Comments

@goneall
Copy link

goneall commented Sep 14, 2020

We are trying to generate code from an XSD where the lists are represented as collections. We do not want to include the setters since there is an underlying storage model where the collection implementations can not be replaced.

We could not find any XML configuration customizations that would allow us to disable the setters and writing a ClassDecorator doesn't seem to work since there is no interface to remove a method in the finish method nor a way to prevent the setter creation in the start method.

Any advice would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant