Closed Johann-Angeli closed 7 years ago
When generating classes from a model with relationships having a 0..1 cardinality, The associated setter is badly generated.
Changing the cardinality from 0..1 to 0..* solves the problem.
The model
The generated source code of the Vehicle class with 0..1 cardinality
The generated source code of the Vehicle class with 0..* cardinality
Environment
When generating classes from a model with relationships having a 0..1 cardinality, The associated setter is badly generated.
Changing the cardinality from 0..1 to 0..* solves the problem.
The model
The generated source code of the Vehicle class with 0..1 cardinality
The generated source code of the Vehicle class with 0..* cardinality
Environment