Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Association classes and association blocks
Association classes and association blocks [message #1097137] Thu, 29 August 2013 05:22 Go to next message
Klaas Gadeyne is currently offline Klaas Gadeyne
Messages: 78
Registered: July 2009
Member
Hi,

I was (trying to) experiment(ing) a little bit with association classes and their sysml counterparts in papyrus
Are these findings correct?

For UML models


  • I can only create association classes from the palette, not from within the model explorer using "New Child"
  • Creating an association class AssociationClass1 between class Class1 and class Class2 by

    • clicking on the AssociationClass in the palette
    • first selecting Class1
    • then selecting Class2
      results in an association(class) between Class1 and Class2 where member end class2 is set as navigable, and owned by the Classifier (indicated using the arrow and the dot in index.php/fa/16071/0/).
      I cannot change this from within papyrus?

  • Delete the association class. Class1 still has a class2 attribute! After some "playing around" I even ended up using the situation below
    index.php/fa/16070/0/


Opening the model with the UML model editor, I don't have any of these problems, ie. I can create a new Association Class, and/or I can move the class2 attribute from Class1 to the AssociationClass, which gives me the desired result (ie. class2 being owned by the association class and not navigable from Class1).

For SysML models


  • There is no way of creating an association block, apart from the above described way using the UML model editor
  • Even when creating a correct model using the UML model editor and applying the necessary stereotypes, no visualisation is possible (or maybe more correct: the association block is considered as a normal block when dragging it onto a diagram...


Am I missing something or are this a couple of missing features and papyrus bugs?

BR,

Klaas

[Updated on: Thu, 29 August 2013 05:23]

Report message to a moderator

Re: Association classes and association blocks [message #1114925 is a reply to message #1097137] Mon, 23 September 2013 08:16 Go to previous message
Klaas Gadeyne is currently offline Klaas Gadeyne
Messages: 78
Registered: July 2009
Member
Bugs https://bugs.eclipse.org/bugs/show_bug.cgi?id=417816 (UML) and https://bugs.eclipse.org/bugs/show_bug.cgi?id=417818 (SysML) raised.
Previous Topic:Papyrus Java reverse from Keppler
Next Topic:Simple OCL question
Goto Forum:
  


Current Time: Thu Apr 17 05:41:50 EDT 2014

Powered by FUDForum. Page generated in 0.01611 seconds