jaxb2-rich-contract-plugin
jaxb2-rich-contract-plugin copied to clipboard
Generate fluent builder getters
-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.