[Uml-devel] [Bug 72042] code generation ignores unidirectional association

Antoine Dopffer adopffer at nerdshack.com
Sat Feb 24 00:21:07 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=72042         




------- Additional Comments From adopffer nerdshack com  2007-02-24 01:21 -------
Created an attachment (id=19796)
 --> (http://bugs.kde.org/attachment.cgi?id=19796&action=view)
patch for #77042

This patch fixes (for C++ and Java) the problem that the code generation
ignored unidirectional association.
For the other languages, I am not very sure. I don't promise anything but I
will try to have a look.

The patch try to create nothing when there is already a attribute with the same
name that the role name (the role name to consider is the role A name).
But, in trunk, I wasn't able to add an attribute ? 
In the dialog window, I can only see the Help, OK and Cancel button ?

The patch also fixes another bug in the java code generator.
The name used for the declaration of the attribute (for any kind of
association) and the name used in the body of the getter and the setter were
not equal.

Thanks




More information about the umbrello-devel mailing list