|
Re: Problem with namespaces [message #890017 is a reply to message #890000] |
Wed, 20 June 2012 15:15 |
|
Hi,
I suspect that calling the id() operation instead will solve this i.e.
aui!InterfaceType.allInstances().first().id().println();
On a side note, identifiers need to be placed between `` only when they they are keywords e.g. b.`var` = 5;
Cheers,
Dimitris
|
|
|
|
|
Re: Problem with namespaces [message #892894 is a reply to message #891233] |
Sun, 01 July 2012 15:03 |
Lukas Baron Messages: 17 Registered: June 2012 |
Junior Member |
|
|
Hi Dimitris,
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?
Greetings
Lukas
[update]
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.03260 seconds