Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to model UML qualifier?
How to model UML qualifier? [message #640189] Fri, 19 November 2010 14:15 Go to next message
yirco  is currently offline yirco Friend
Messages: 14
Registered: October 2010
Junior Member
Hello,

is it possible to model UML qualifier with Papyrus?

----------
|       |---------            ----------
| Bank  |accountNo|-----------| Person |
|       |---------            ----------
----------


Thank you.

[Updated on: Fri, 19 November 2010 14:20]

Report message to a moderator

Re: How to model UML qualifier? [message #640321 is a reply to message #640189] Sat, 20 November 2010 13:40 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4154
Registered: July 2009
Senior Member
Hi

On 19/11/2010 14:15, netswengineer@yahoo.com wrote:
> Hello,
>
> is it possible to model UML qualifier with Papyrus?
>
> ----------
> | |---------------- -----------
> | Bank |accountNo|-----------| Person |
> | |---------------- ------------
> ----------
>
> Thank you.
>
A very familiar example. Part of Fig 7.1 of the OCL spec perhaps.

In order to migrate to an auto-generated OCL specification, I would like
to be able to draw all the diagrams with Papyrus, so I'd like to know
the answer too.

Regards

Ed Willink
Re: How to model UML qualifier? [message #640414 is a reply to message #640321] Sun, 21 November 2010 20:22 Go to previous messageGo to next message
yirco  is currently offline yirco Friend
Messages: 14
Registered: October 2010
Junior Member
I actually copied the figure from the UML 2.3 (superstructure) spec:
Figure 7.72 - Qualified associations

Arrays, lists and sets can be modelled using multiplicity. But often it is also necessary to model maps - key value pairs. I read that for this purpose UML uses qualifiers:

http://etutorials.org/Programming/UML/Chapter+6.+Class+Diagr ams+Advanced+Concepts/Qualified+Associations/
Re: How to model UML qualifier? [message #640707 is a reply to message #640414] Mon, 22 November 2010 21:31 Go to previous messageGo to next message
Sebastien Gerard is currently offline Sebastien GerardFriend
Messages: 115
Registered: July 2009
Senior Member
Hi,

qualifiers are not yet supported within Papyrus. Please log a new task as enhancement in the Papyrus bugzilla. We will try to do our best to implement it. If you want to hel us, you can also contribute a patch.

Best... S├ębastien.
Re: How to model UML qualifier? [message #640792 is a reply to message #640707] Tue, 23 November 2010 08:14 Go to previous message
yirco  is currently offline yirco Friend
Messages: 14
Registered: October 2010
Junior Member
Thank you for the reply, S├ębastien. I logged an enhancement. I just started exploring more the Papyrus implementation. If I get better, I can try to do something. Smile
Previous Topic:rename a papyrus model
Next Topic:Papyrus i18n with PDE Tools
Goto Forum:
  


Current Time: Thu Nov 27 05:54:45 GMT 2014

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

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