Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » teneo dynamic emf example
teneo dynamic emf example [message #1052944] Wed, 01 May 2013 10:12 Go to next message
Eclipse UserFriend
Hi,

my question is based on two articles.
The first is the dynamic emf teneo example.
In the second article by IBM, the ecore-model is extended so you can model not only the signature of an EOperation but also its body with statements, variables, etc.

Of course this extensions can't be saved yet, for example the new EOperationImpl-element. What do you have to do in order to get a new added ecore-element persisted as in the teneo dynamic emf example?

With best regards,
Thomas
Re: teneo dynamic emf example [message #1053094 is a reply to message #1052944] Thu, 02 May 2013 08:11 Go to previous message
Eclipse UserFriend
Hi Thomas,
Afaics you should create a teneo datastore and as the epackage pass in the ecore model as well as the ecore extension
model epackage.
But I am not sure that it is correct to persist the ecore model itself as ecore is also present as
'a-model-with-generated-code', see the last sentence in the first paragraph here:
http://wiki.eclipse.org/Teneo/Hibernate/ModelRelational/Association_Mapping#Storing_references_to_Ecore_Model_Elements

gr. Martin

On 05/01/2013 04:12 PM, Thomas Steinbach wrote:
> Hi,
>
> my question is based on two articles. The first is the http://wiki.eclipse.org/Teneo/Hibernate/Dynamic_EMF_Tutorial.
> In the http://www.ibm.com/developerworks/library/os-eclipse-emfmetamodel/ by IBM, the ecore-model is extended so you can
> model not only the signature of an EOperation but also its body with statements, variables, etc.
>
> Of course this extensions can't be saved yet, for example the new EOperationImpl-element. What do you have to do in
> order to get a new added ecore-element persisted as in the teneo dynamic emf example?
>
> With best regards,
> Thomas
>


--

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
Previous Topic:ITableItemLabelProvider code generation annotation in eCore model
Next Topic:[MWE2] Help executing mwe2 workflows from java
Goto Forum:
  


Current Time: Wed Jul 23 14:02:41 EDT 2025

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

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

Back to the top