|Re: how to use the context expressions in OCL [message #851942 is a reply to message #851912]
||Sat, 21 April 2012 13:36
| Ed Willink
Registered: July 2009
But what tool? Sample Ecore Editor, Genmodel Editor, Console View, |
OCLinEcore editoir, Complete OCL editor, Acceleo, QVTo, ....
Your attachment has no "context ComponentInstance inv Login:
so what are you doing?
On 21/04/2012 13:56, Lucy Chan wrote:
> the tool I'm using is Helios Packages for Eclipse Modeling Tools. The attachment is my file. I just want to verify if the number of the attribute multiplicity in Login ComponentInstance is>0, so I wrote the expression:
> context ComponentInstance inv Login: self.multiplicity>0
> but it has some errors '1:1:1:4 "inv:" misplaced construct(s)' canyou help figure out where I made mistakes?
> Thanks for your help sincerely.
Powered by FUDForum
. Page generated in 0.02122 seconds