Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Derived Feature and eGet
Derived Feature and eGet [message #1584379] Sun, 25 January 2015 18:57
Alain Picard is currently offline Alain PicardFriend
Messages: 223
Registered: July 2009
Senior Member
I have a feature that is derived, transient and volatile and for which I have implemented its getter to compute the correct value.

I have some generic code that does:
obj.eGet(attribute).toString();

and it fails since obj.eGet(attribute) in this case returns null without ever calling my getter method.

Looking at other forum entries I saw that it was suggested to use Dynamic feature delegation instead of Reflective, which I did but to no avail (actually stepping through the code it seems the eGet ends up doing a dynamicGet just like eDynamicGet.

What is the best way to solve this?

Thanks
Alain
Previous Topic:ViewerRefresh.refresh(IViewerNotification notification)
Next Topic:copy deep references
Goto Forum:
  


Current Time: Wed Aug 21 16:03:16 GMT 2019

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

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

Back to the top