Using eKey [message #1061077] |
Wed, 29 May 2013 16:01  |
Eclipse User |
|
|
|
Hi,
My reading from the forum that when I use 1 field as "EKey", the EReference will have the format of /@a[name='foo'] instead of /@a.<index> in the serialized file (in my case XMI). However, I have no success at all (still always get /@a.<index>). Is there any example or document that I can refer to? Or is there any area that I should pay attention (like some options)?
Thanks very much.
Edmund
|
|
|
Re: Using eKey [message #1061128 is a reply to message #1061077] |
Thu, 30 May 2013 03:28  |
Eclipse User |
|
|
|
Edmund,
Comments below.
On 29/05/2013 10:39 PM, Edmund Leung wrote:
> Hi,
>
> My reading from the forum that when I use 1 field as "EKey", the
> EReference will have the format of /@a[name='foo'] instead of
> /@a.<index> in the serialized file (in my case XMI). However, I have
> no success at all (still always get /@a.<index>). Is there any
> example or document that I can refer to? Or is there any area that I
> should pay attention (like some options)?
Probably you've tried setting this on the cross reference to that type
of object but you need to set it on the containment reference that
contains that type of object. I.e., you'd need to set the eKeys for
containment reference "a" to be the attribute for "name".
>
> Thanks very much.
>
> Edmund
>
|
|
|
Powered by
FUDForum. Page generated in 0.03548 seconds