Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » safe bi-directional association API for many to many association
|
Re: safe bi-directional association API for many to many association [message #809233 is a reply to message #809100] |
Tue, 28 February 2012 16:11 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hmm, in hinsight, not sure why it does/should not work for manytomany, can you enter a feature request for this?
gr. Martin
On 02/28/2012 02:33 PM, Oliver Zhou wrote:
> Texo can generate safe bi-directional association API for oneTone, oneToMany, manyToOne, but for manyTomany it doesn't.
>
> After looking into the code, I found at line 90 in ModelEReferenceAnnotator.java, the code will skip manyTomany
> association for generating safer many access.
> So my question is why this particular logic exist?
>
> Best wishes,
> Oliver
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: safe bi-directional association API for many to many association [message #814824 is a reply to message #809233] |
Tue, 06 March 2012 23:18 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
I solved this in the latest build, can you try it out?
gr. Martin
On 02/28/2012 05:11 PM, Martin Taal wrote:
> Hmm, in hinsight, not sure why it does/should not work for manytomany, can you enter a feature request for this?
>
> gr. Martin
>
> On 02/28/2012 02:33 PM, Oliver Zhou wrote:
>> Texo can generate safe bi-directional association API for oneTone, oneToMany, manyToOne, but for manyTomany it doesn't.
>>
>> After looking into the code, I found at line 90 in ModelEReferenceAnnotator.java, the code will skip manyTomany
>> association for generating safer many access.
>> So my question is why this particular logic exist?
>>
>> Best wishes,
>> Oliver
>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| |
Goto Forum:
Current Time: Wed Apr 24 19:57:40 GMT 2024
Powered by FUDForum. Page generated in 0.03381 seconds
|