[Issue 6421] Support interfaces and generics when generating multiplicity code

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6421






------- Additional comments from [email protected] Wed Apr 11 21:55:06 -0700 2012 -------
Another comment on your model Mark. Not directly related to this defect but a 
similar issue.

You have the name employeeList on the associationEnd nearest the Department 
rather than on the end nearest the Employee. That is why employeeList is not 
picked up to be your variable name in the Java code that is generated.

This is what the UML spec has to say about associationEnd names - "When placed 
on a target end, provides a name for traversing from a source instance across 
the association to the target instance". So ArgoUML is correct to try and use 
the name fr the opposite end.

It seems that if no name is provided at that correct end Argo trys to use the 
association name. If that does not exist it uses the target class name 
(converting first char to lower case).

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2947647

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.