Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » safe bi-directional association API for many to many association
safe bi-directional association API for many to many association [message #809100] Tue, 28 February 2012 13:33 Go to next message
Oliver Zhou is currently offline Oliver ZhouFriend
Messages: 41
Registered: February 2012
Member
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

[Updated on: Tue, 28 February 2012 13:33]

Report message to a moderator

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 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
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 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
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
Re: safe bi-directional association API for many to many association [message #815136 is a reply to message #814824] Wed, 07 March 2012 09:20 Go to previous message
Oliver Zhou is currently offline Oliver ZhouFriend
Messages: 41
Registered: February 2012
Member
Hi Martin,

It solved my problem, thanks!
Previous Topic:[Texo] How to add java annotation whose full qualified name only contain one DOT
Next Topic:[Texo] How difficult would it be to add JPA implementors annotation models ?
Goto Forum:
  


Current Time: Wed Apr 24 19:57:40 GMT 2024

Powered by FUDForum. Page generated in 0.03381 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top