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: 28
Registered: December 2017
Junior 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: 885
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: 28
Registered: December 2017
Junior 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: 885
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 message
Eduardo Gutierrez is currently offline Eduardo GutierrezFriend
Messages: 28
Registered: December 2017
Junior 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 ??
Previous Topic:ExternLibrary Stereotype
Next Topic:Lag because of BuddyClassLoading during XWT Introspection
Goto Forum:
  


Current Time: Tue Sep 18 13:12:17 GMT 2018

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

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

Back to the top