Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Texo] Generated Code
[Texo] Generated Code [message #1060620] Mon, 27 May 2013 11:15 Go to next message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
Hello,

i have a Problem with the Texo Code generation and References.
I create a Anntotation Model, so that all my classes have a Prefix DTO.
e.g. ecore EClass A and EClass B, will be generated as ADTO and BDTO.
That works perfectly, but the References doesn't use the "new name"...
EClass A has a Reference to B. So i would except:.

public class ADTO
        implements
        Serializable
    {

private BDTO b;



BUT
the generated Code looks like and the class B doesn't exist.
public class ADTO
        implements
        Serializable
    {

private B b;

Re: [Texo] Generated Code [message #1060648 is a reply to message #1060620] Mon, 27 May 2013 13:07 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Sir Wayne,
Hmm, seems like a clear bug... can you enter a bugzilla and attach your model/annotationsmodel to it? Or if you can't
share it completely the annotation model snippet which defines the postfix.

gr. Martin

On 05/27/2013 01:15 PM, Sir Wayne wrote:
> Hello,
>
> i have a Problem with the Texo Code generation and References.
> I create a Anntotation Model, so that all my classes have a Prefix DTO.
> e.g. ecore EClass A and EClass B, will be generated as ADTO and BDTO.
> That works perfectly, but the References doesn't use the "new name"...
> EClass A has a Reference to B. So i would except:.
>
>
> public class ADTO
> implements
> Serializable
> {
>
> private BDTO b;
>
>
>
> BUT
> the generated Code looks like and the class B doesn't exist.
>
> public class ADTO
> implements
> Serializable
> {
>
> private B b;
>
>


--

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@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Re: [Texo] Generated Code [message #1060660 is a reply to message #1060648] Mon, 27 May 2013 14:51 Go to previous message
Dennis Melzer is currently offline Dennis MelzerFriend
Messages: 244
Registered: July 2009
Senior Member
I created a Bug.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=409157
Previous Topic:[Teneo] org.hibernate.proxy.HibernateProxy not found when running as RCP
Next Topic:Search engine for EMF?
Goto Forum:
  


Current Time: Thu Apr 25 13:35:45 GMT 2024

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

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

Back to the top