Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » derived attribute implementation
derived attribute implementation [message #414591] Wed, 14 November 2007 09:34 Go to next message
Cyril Faucher is currently offline Cyril FaucherFriend
Messages: 63
Registered: July 2009
Member
Hi

In Ecore, is there a special EAnnotation in order to define the behavior
of a derived attribute, i.e.: getter, setter.
I want to add Java source code in an Ecore file in the same way than
EOperation: with a EAnnotation typed
http://www.eclipse.org/emf/2002/GenModel and with a detail entry "body"
with the Java source code.

Best regards,
Cyril.
Re: derived attribute implementation [message #414596 is a reply to message #414591] Wed, 14 November 2007 10:54 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Cyril,

No, there's no support for that. Feel free to open a feature request
for it.


Cyril Faucher wrote:
> Hi
>
> In Ecore, is there a special EAnnotation in order to define the
> behavior of a derived attribute, i.e.: getter, setter.
> I want to add Java source code in an Ecore file in the same way than
> EOperation: with a EAnnotation typed
> http://www.eclipse.org/emf/2002/GenModel and with a detail entry
> "body" with the Java source code.
>
> Best regards,
> Cyril.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Warnings in the ecore file
Next Topic:Access the model instance in the EMF generated editor
Goto Forum:
  


Current Time: Fri Apr 26 06:18:14 GMT 2024

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

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

Back to the top