Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Association between metaclass and stereotype(Link the metaclass relationship with a stereotype)
Association between metaclass and stereotype [message #1783141] Thu, 08 March 2018 13:14 Go to next message
Emilie  Lanau is currently offline Emilie LanauFriend
Messages: 21
Registered: February 2018
Junior Member
Hi, I need help please
i want to link the metaclass relationship with the stereotype requirement with an association
and even the metaclass with the stereotype derivereq and contains with generalization but i can't do it i don't know why !!
Re: Association between metaclass and stereotype [message #1783143 is a reply to message #1783141] Thu, 08 March 2018 13:27 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 926
Registered: February 2011
Senior Member

It seems that Requirement is an imported element. This probably means that it is read-only, thus you can't add a new association on that element (Although it might be possible to actually create that association, if both members ends are "owned by association". But I don't think you can create such an association from the Profile Diagram)

You may try to make the Requirement explicitly writable (On the Requirement stereotype: right click > Enable write), then create the association.


Camille Letavernier
Re: Association between metaclass and stereotype [message #1783156 is a reply to message #1783143] Thu, 08 March 2018 15:18 Go to previous message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 245
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi I remark that you create a new profile.
You want to specialize Requirement and it links.
Why do you want to add an association between requirement and metaClass?

When you add an association between Requirement and a metclass you modify these elements by adding association ends in Requirement or Metaclass. You cannot modify SYML profile or metamodel of UML.

So if you want ot add a relation of Requirement to a metaclass. Create a specialization of Requirement and link it to the metaclass.
Previous Topic:How to inject EAST-ADL context
Next Topic:Papyrus Extensions
Goto Forum:

Current Time: Thu Jul 02 06:30:23 GMT 2020

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

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

Back to the top