Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » propertyGetter.invoke
propertyGetter.invoke [message #566088] Wed, 25 March 2009 19:07
Anne is currently offline AnneFriend
Messages: 37
Registered: July 2009

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) {

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,
Previous Topic:AbstractEmfModel#store exception due to unmapped path
Next Topic:Using Collection.excluding(item)
Goto Forum:

Current Time: Wed May 23 09:23:07 GMT 2018

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

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

Back to the top