How can I modify the behaviour of generated getters and setters?
If you want to modify the behaviour of generated getters and setters (or have already done so in existing models) you might want to try dynamic feature delegation (introduced in EMF 2.5). With this pattern, the reflective methods like eGet still call your generated method like getX() and then that calls the dymamic reflective method like eDynamicGet. It effectively produces the same behavior as “Refective” delegating but does so by delegating through your generated accessors allowing you to specialize those as you could when you used “None”…
Related Questions
- I have taken Organizational Behaviour and Marketing courses at another post secondary institution. How do I find out if I qualify for an exemption from Organizational Behaviour and Marketing?
- There is some criminal behaviour happening in my area. What can the Council do about it?
- How can I modify the behaviour of generated getters and setters?