Skip to content

Codegen customization to remove setters for lists #11

@goneall

Description

@goneall

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions