|
|
|
|
|
|
|
|
Re: Need help for OCL Syntax [message #1435518 is a reply to message #1434853] |
Wed, 01 October 2014 16:04 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
Your example contains a profile and many GIFs but no model.
What am I expected to do.
See: https://wiki.eclipse.org/OCL/ForumNetiquette
Every time you provide an unclear repro you waste my time and yours.
Regards
Ed Willink
On 30/09/2014 19:54, Walid Ban wrote:
> Hi Ed,
> I have a profile that contains stereotypes which extend the meta-class "Lifeline". These stereotypes are "ObjectBase", "ObjectMultiviews", "ObjectProviderView" and "ObjectHumanConsumer".
>
> The constraint (which must be created in my profile) tells that :an "ObjectMultiviews" Lifeline could only send messages to another "ObjectMultiviews" Lifeline or to an "ObjectBase" Lifeline.
>
> So, if for example, an "ObjectMultiviews" Lifeline sends a message to an "ObjectProviderView" Lifeline, an errors must be occured when I validate a model (on which my profile is applied).
>
> I uploaded the plug-in that contains my profile to see clearer. I use Kepler SR2, Papyrus v0.10.2 (note that I work at the same time with Eclipse Luna, Papyrus 1.0.0)
> Any solution please?
> Thank you
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02203 seconds