Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: mylesr on January 12, 2006, 03:08:45 pm

Title: Generating code from association classes
Post by: mylesr on January 12, 2006, 03:08:45 pm
EA doesn't seem to generate the code for association classes correctly.  If I have 2 classes, A and B, and I create an association class between them (call it AB).  Instances of A and B should each hold references to instances of AB, *not* to each other directly.  EA creates a one-way relationship directly between A and B (A is given an attribute of type B) and neither A nor B is given an attribute of type AB.