Adding constraints to UML Profiles in Papyrus [message #997587] |
Tue, 08 January 2013 13:38 |
André Ribeiro Messages: 55 Registered: January 2013 |
Member |
|
|
Hi,
Recently, I've developed my own UML Profile using Papyrus.
Now my doubt is how can I add/associate OCL constraints to it?
My goal is to validate if a model that applies my profile is correct or not.
I'm using the following version of Eclipse:
Eclipse Modeling Tools
Version: Juno Service Release 1
Build id: 20120920-0800
Thanks in advance,
André Ribeiro
IST Lisbon
Portugal
André Ribeiro
IST Lisbon
Portugal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Adding constraints to UML Profiles in Papyrus [message #999291 is a reply to message #999220] |
Fri, 11 January 2013 18:36 |
André Ribeiro Messages: 55 Registered: January 2013 |
Member |
|
|
Hi Vlad,
Quote:1. What tool are you currently using ?
I'm using Papyrus, but I've used Enterprise Architect to model the previous excerpt of the profile.
Quote:2. Can you provide a diagram showing the relationship between the stereotypes and UML meta-classes ?
Here is what I've done so far:
Quote:3. Can you provide the source of the profile ?
Yes, I can provide you my Papyrus Project.
Quote:For instance, if the user defines a Class XisInteractionCompositeElement with compositeElementType == 'List', it can only be composed of XisActionElements with actionElementType == 'ListItem'.
Is it possible to define such a constraint?
Can you please give some feedback about this?
Thank you!
André Ribeiro
IST Lisbon
Portugal
[Updated on: Mon, 14 January 2013 16:37] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07142 seconds