This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||user requests that codes get generated for association that is similar to navigable association|
|Product:||uml||Reporter:||Andrew Korostelev <akorostelev>|
|Component:||Diagram Class||Assignee:||issues@uml <issues>|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description Andrew Korostelev 2006-08-18 15:53:10 UTC
From software forum posting: http://swforum.sun.com/jive/thread.jspa?threadID=63173 There's a preference for Assocition that is set to Yes as defalt for processed during Round Trip Engineering (Tools->Options->UML->Round Trip Engineering->Elements->Associations). However, setting this preference to Yes or No doesn't do anything because code is not generated for Associations. Once user manually adds the attributes in the source to make it look like navigable association but still wants just the association link on the diagram, a Navigable Aggregation link is created on the diagram. This is not what user wants. Repro steps: - create an empty java project - create a java-platform uml project and associate with the java project - create a class diagram - create and name 2 classes as "c1" and "c2" - create an Association link between the 2 classes - Navigate to Source for class "c1" - add the following attribute to "c1" source private c2 cc2; Result: the getter/setter are generated in the source and an extra Navigable Aggregation link is created between classes "c1" and "c2" in the diagram.