Skip to main content



      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 14:48 Go to next message
Eclipse UserFriend
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 17:08 Go to previous message
Eclipse UserFriend
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 Nov 07 09:26:22 EST 2025

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

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

Back to the top