|Re: Possible Error in Papyrus [message #1778652 is a reply to message #1778596]
||Tue, 19 December 2017 10:30
| Shuai Li
Registered: March 2016
Location: Paris Saclay, France
The generated code is conform to navigability in the UML specification, i.e. if C1 cannot navigate to class C2, then a reference of C2 should not be generated in C1.
When you created the association, are you sure both member ends of the association are navigable? Navigability of member ends can be specified by clicking on the association, and checking its properties in the Properties view. Note that you can directly create navigable associations with the palette of the class diagram, by using the Directed Association tool (or one of the other similar tools in the palette). If the members ends are navigable, they should then be contained in the classes themselves (instead of the association) as UML::Property of the classes. In the diagram, a "dot" should appear on any association member end that is navigable.
Hope this helps.
Powered by FUDForum
. Page generated in 0.01480 seconds