jaxb2-rich-contract-plugin icon indicating copy to clipboard operation
jaxb2-rich-contract-plugin copied to clipboard

Generate fluent builder getters

Open pmihnea opened this issue 1 year ago • 0 comments

-Xfluent-builder

-getters={y|n} (n)

Generates a "getter" method for each property which returns the current value for simple properties without a builder or the current builder for buildable properties. For a collection property it returns the current collection of builders. For a choice property it returns the current builder as a "Buildable" interface. For a choice collection property it returns the current collection of builders as "Buildable" interface. The collections returned by the getters are empty if the builder field is null.

pmihnea avatar Dec 01 '23 21:12 pmihnea