Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Apply OCL Constraints(Is it possible in the actual version of Papyrus ?)
Apply OCL Constraints [message #885748] Wed, 13 June 2012 14:27 Go to next message
LE HALPER Nicolas is currently offline LE HALPER NicolasFriend
Messages: 13
Registered: April 2012
Junior Member
Hi everyone Very Happy

My problem is quite complex. (at least for me Sad ) I would like to model and apply OCL constraints on a UML profile. But I really don't know how to do that.

I know that there is constraints on the Papyrus Palette and that we can specify that they are OCL constraints...

One OCL constraint that I would like to apply is the unicity of the name of a component for instance.

However, I saw that this kind of task is still work in progress.

Thx for your help.

Nicolas
Re: Apply OCL Constraints [message #886656 is a reply to message #885748] Fri, 15 June 2012 11:26 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 4195
Registered: July 2009
Senior Member
Hi

This may be work in progress for Papyrus.

You might be able to achieve something in the UML Model Editor using the
ability to Load a Complete OCL Resource in Juno.

See the Complete OCL tutorial in the Juno OCL Documentation.

Regards

Ed Willink

On 13/06/2012 15:27, LE HALPER Nicolas wrote:
> Hi everyone :d
>
> My problem is quite complex. (at least for me :( ) I would like to
> model and apply OCL constraints on a UML profile. But I really don't
> know how to do that.
> I know that there is constraints on the Papyrus Palette and that we
> can specify that they are OCL constraints...
>
> One OCL constraint that I would like to apply is the unicity of the
> name of a component for instance.
>
> However, I saw that this kind of task is still work in progress.
> Thx for your help.
>
> Nicolas
Re: Apply OCL Constraints [message #889948 is a reply to message #886656] Wed, 20 June 2012 11:07 Go to previous message
LE HALPER Nicolas is currently offline LE HALPER NicolasFriend
Messages: 13
Registered: April 2012
Junior Member
Ok thank you for your help Ed. I will try this solution when Juno will be released. Wink
Previous Topic:Profile - Extend one profile of other profile
Next Topic:Hook save operation / override class editor
Goto Forum:
  


Current Time: Mon Dec 29 06:06:12 GMT 2014

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

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