|Re: Problem with namespaces [message #892894 is a reply to message #891233]
||Sun, 01 July 2012 15:03
| Lukas Baron
Registered: June 2012
this already helped me alot, but I have one problem, I cannot solve.
By use of the structural features, I can get properties of an object, by use of the property name as a string.
This is the code.
property = object.eClass().dynamicGet(sf.featureId);
This often works, but if a certain property is marked as derived (or volatile) this method does not work, property won't be defined.
How can I get the value of such a derived feature?
It turns out, that nothing changes when I set markers derived, volatile, transient in the ecore-model to false.
Where can be the difference between my method above to access the property and the method, which is used in epsilon?
Just before someone asks. The property, I try to read is definitely existent in the model.
[Updated on: Sun, 01 July 2012 15:31]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.07318 seconds