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: 233
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:

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?

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

Current Time: Tue Feb 18 08:13:59 GMT 2020

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

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

Back to the top