Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Restrict stereotypes with constraints
Restrict stereotypes with constraints [message #1468069] Mon, 10 November 2014 14:50 Go to next message
M Mo is currently offline M MoFriend
Messages: 4
Registered: November 2014
Junior Member
Hi all
I have a uml profile, with two stereotypes: <input> and <output>.
In the profile I'm trying to add a constraint to restrict this stereotypes, I mean, when I have a class with the input steretype applied, I can't be able to apply the output stereotype.
I have been searching for a long time, and I'm a bit confused, really don't know if this is posible, and what is the best way to made it.
Any help is welcome Smile
Thanks in advanced

Re: Restrict stereotypes with constraints [message #1468183 is a reply to message #1468069] Mon, 10 November 2014 16:48 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

You will find a similar example in

https://bugs.eclipse.org/bugs/show_bug.cgi?id=398333

Regards

Ed Willink

On 10/11/2014 15:09, M Mo wrote:
> Hi all
> I have a uml profile, with two stereotypes: <input> and <output>.
> In the profile I'm trying to add a constraint to restrict this
> stereotypes, I mean, when I have a class with the input steretype
> applied, I can't be able to apply the output stereotype. I have been
> searching for a long time, and I'm a bit confused, really don't know if
> this is posible, and what is the best way to made it. Any help is
> welcome :) Thanks in advanced
>
>
Re: Restrict stereotypes with constraints [message #1469382 is a reply to message #1468183] Tue, 11 November 2014 14:58 Go to previous message
M Mo is currently offline M MoFriend
Messages: 4
Registered: November 2014
Junior Member
It works perfectly!!

Thanks for your response

Regards
Previous Topic:Run-time errors in queries and templates
Next Topic:validating OCL constraints
Goto Forum:
  


Current Time: Tue Mar 19 10:22:42 GMT 2024

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

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

Back to the top