Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to design n-ary relations in Papyrus
How to design n-ary relations in Papyrus [message #1784070] Thu, 22 March 2018 09:04 Go to next message
Eduardo Gutierrez is currently offline Eduardo GutierrezFriend
Messages: 48
Registered: December 2017
Member
Well as the title says, i would like someone could post an step by step or "mini-how to" in order to include nary relationships in a class diagram using Papyrus.


Also would be nice to add also a association class (if its possible) like date in relation manage in the example below or quantity in the provide association.

Thanks in advance

Some classic examples:

index.php/fa/32409/0/

or

index.php/fa/32410/0/

Example using association class quantity:

index.php/fa/32412/0/

[Updated on: Thu, 22 March 2018 09:26]

Report message to a moderator

Re: How to design n-ary relations in Papyrus [message #1784072 is a reply to message #1784070] Thu, 22 March 2018 09:27 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi Eduardo,

You should start with a simple binary association, then add "Association branches" to connect the remaining nodes:

index.php/fa/32413/0/

HTH,
Camille


Camille Letavernier
Re: How to design n-ary relations in Papyrus [message #1784074 is a reply to message #1784072] Thu, 22 March 2018 09:32 Go to previous messageGo to next message
Eduardo Gutierrez is currently offline Eduardo GutierrezFriend
Messages: 48
Registered: December 2017
Member
Thanks and i suppose to add an association class would be the same ??
Re: How to design n-ary relations in Papyrus [message #1784078 is a reply to message #1784074] Thu, 22 March 2018 09:59 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi,

Association class should be drawn first (Instead of creating a binary Association, you create a Binary AssociationClass). However, it seems that NAry Association Classes don't work well (The diamond is displayed as a square, and the dashed-link from the AssociationClass disappears).

Cheers,
Camille


Camille Letavernier
Re: How to design n-ary relations in Papyrus [message #1784178 is a reply to message #1784078] Fri, 23 March 2018 09:01 Go to previous messageGo to next message
Eduardo Gutierrez is currently offline Eduardo GutierrezFriend
Messages: 48
Registered: December 2017
Member
Id try it later....thanks for your answer.... Im supposed to report a bug ? Or it would be some workaround in papyrus devs about this ??
Re: How to design n-ary relations in Papyrus [message #1829286 is a reply to message #1784072] Tue, 30 June 2020 13:37 Go to previous messageGo to next message
Andriy Simonov is currently offline Andriy SimonovFriend
Messages: 1
Registered: May 2020
Junior Member
Hi,
Is there a way to put the association's name or label inside the diamond depicting the association on a diagram?
Re: How to design n-ary relations in Papyrus [message #1829319 is a reply to message #1829286] Wed, 01 July 2020 12:42 Go to previous message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
no, it is no supported.
Papyrus Team
Previous Topic:Diagram Assistant: Create New Element with stereotype applied
Next Topic:Importing Diagrams as XML/XMI, or EMF, or ...
Goto Forum:
  


Current Time: Fri Apr 26 10:15:15 GMT 2024

Powered by FUDForum. Page generated in 0.03525 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top