Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [ETL/EOL] How to Change properties of an existing InMemoryEmfModel instance?
[ETL/EOL] How to Change properties of an existing InMemoryEmfModel instance? [message #1694193] Fri, 01 May 2015 18:48 Go to next message
Alexander Fülleborn is currently offline Alexander FüllebornFriend
Messages: 132
Registered: April 2013
Senior Member
Hi,

I would like to Change a property - in my case a stereotype property value - of an existing InMemoryEmfModel instance that I provide as a model in my ETL module instance within my Java code.

It is possible to do an assignment of a new value within the ETL module. However, the value is not updated in the uml file of my model (at least I do not see any changes on the property there).

I played around with the properties "read on load" and "store on disposal". However, it doesn't Change anything.

Is there anything I Need to take of that I have overseen? Or do I Need to do the changes outside the ETL/EOL module in my Java code?

Thanks a lot and Kind regards, Alex
Re: [ETL/EOL] How to Change properties of an existing InMemoryEmfModel instance? [message #1694367 is a reply to message #1694193] Mon, 04 May 2015 21:08 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Alex,

After you execute the ETL transformation, you should invoke InMemoryEmfModel's store(...) or the underlying Resource's save(...) method to persist any changes to the UML model file.

Cheers,
Dimitris
Previous Topic:How to measure the memory usage
Next Topic:[EOL/EVL] Class references
Goto Forum:
  


Current Time: Fri Apr 26 01:12:01 GMT 2024

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

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

Back to the top