Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Texo] Annotations model in ECore
[Texo] Annotations model in ECore [message #1244497] Wed, 12 February 2014 12:20 Go to next message
Dominik Leszyk is currently offline Dominik Leszyk
Messages: 13
Registered: December 2013
Junior Member
Dear All,

When Texo is used for generation of JPA annotated POJOs it needs two models:
- Ecore file for domain model
- Annotations Model for additional information on JPA annotations.

Is it possible to somehow specify information on JPA annotations directly in ECore model? E.g. by using Ecore annnotations?

I am especially interested about it in regard to the future support of Xcore in Texo. It would be really comfortable to use one XCore file to specify object and its attributes together with metadata for JPA annotations.

What do you think?

Cheers,
Dominik
Re: [Texo] Annotations model in ECore [message #1245165 is a reply to message #1244497] Thu, 13 February 2014 11:49 Go to previous messageGo to next message
Martin Taal is currently offline Martin Taal
Messages: 5339
Registered: July 2009
Senior Member
Hi Dominik,
I am on holiday, therefore the slower reply... Yes I think it makes sense to have this, but code to parse annotations is
sometimes a fair amount of work. That's my main obstacle for this. Let me ask/ping Ed Merks if there is another way to
integrate the annotations model with xcore.

gr. Martin

On 02/12/2014 01:20 PM, Dominik Leszyk wrote:
> Dear All,
>
> When Texo is used for generation of JPA annotated POJOs it needs two models:
> - Ecore file for domain model
> - Annotations Model for additional information on JPA annotations.
>
> Is it possible to somehow specify information on JPA annotations directly in ECore model? E.g. by using Ecore annnotations?
>
> I am especially interested about it in regard to the future support of Xcore in Texo. It would be really comfortable to
> use one XCore file to specify object and its attributes together with metadata for JPA annotations.
>
> What do you think?
>
> Cheers,
> Dominik


--

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] Annotations model in ECore [message #1268245 is a reply to message #1245165] Mon, 10 March 2014 08:43 Go to previous message
Paweł Doleciński is currently offline Paweł Doleciński
Messages: 43
Registered: January 2014
Member
Hi,

I'd like to bump this topic.
Previous Topic:[ECP] Trouble viewing new model elements
Next Topic:[EMF Forms] Dynamic EMF not supported
Goto Forum:
  


Current Time: Wed Oct 22 03:30:21 GMT 2014

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

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