JEAF Generator uses UML models to generate code for Spring, REST, OpenAPI, Java and others. Boost your software development efficiency and time-to-market. Bye bye handwritten boiler blade code.
Operation to set back reference for bidirectional assocation (x:1 and x:many) is not generated in case that flag generateImmutableClasses in enable in Maven Plugin Configuration of JEAF Generator.
Steps To Reproduce
2 POJOs have a bidirectional association
One association end is marked as Transient
use flag <generateImmutableClasses>true</generateImmutableClasses>
Expected behavior
set operation for back referneces is also generated in case of immutable objects
operation has only package visibility
transient association end can not be set via builder
Description
Operation to set back reference for bidirectional assocation (
x:1
andx:many
) is not generated in case that flaggenerateImmutableClasses
in enable in Maven Plugin Configuration of JEAF Generator.Steps To Reproduce
Transient
<generateImmutableClasses>true</generateImmutableClasses>
Expected behavior
Runtime Environment
MagicDraw UML 2022x
1.16.4