propertyGetter.invoke [message #566088] |
Wed, 25 March 2009 19:07 |
Anne Messages: 37 Registered: July 2009 |
Member |
|
|
Hi,
I am using EOL and I am trying to get the values of a set of properties of
a specific model element. The properties are in a Sequence.
I use the following EOL code:
for (i in self) {
Model.propertyGetter.invoke(modElement, i.name);
}
This seems to work fine for undefined properties and properties that
return one model element. I noticed that I get a NullPointerException for
the property that returns more than one element. I guess the problems lies
with evoke() which returns an Object instead of a Set!?
Is there a workaround for the problem or am I making a mistake?
Thanks a lot in advance and regards,
Anne
|
|
|
Powered by
FUDForum. Page generated in 0.01943 seconds