|Re: Model operation for adding reference [message #1403548 is a reply to message #1403536]
||Thu, 24 July 2014 10:43
|| Maxime Porhel
Registered: July 2009
Location: Nantes, France
Le 24/07/2014 12:13, Arunkumar Ramaswamy a écrit :
> In the model operation, I did not see any function to add reference to
> the model element.
> For example
> model element A have a reference to model element B
> I created element A using tool and used the model operation SET to set
> its featuere 'name' accordingly.
> But what operation should i use to add the reference to B.
You can use a Set operation too, in the reference, you just enter the
name of the EReference in your meta-model. Then in the value expession,
you put an expression whose result is B, for example var:target, if you
are in a tool which defined a varable named target which is your B.
> Any help much appreciated
Maxime Porhel - Obeo
Need training or professional services for Sirius?
Powered by FUDForum
. Page generated in 0.01969 seconds