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


Current Time: Thu Apr 18 18:03:39 GMT 2024

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

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

Back to the top