|
|
|
Re: Deletion of contained objects [message #488163 is a reply to message #488148] |
Fri, 25 September 2009 17:53 |
Ed Merks Messages: 33147 Registered: July 2009 |
Senior Member |
|
|
Babs,
Something like this needs to be done using reflection because you can't
generally know all possible references to the object from just the model
information available to the generated model. So no, expect the
generated model to support only finer grained operations...
babloo80@gmail.com wrote:
> Hello Ed,
>
> I forgot to mention, I am using this (Ecoreutil.delete()) as a
> workaround. Wondering to see, if there is an OOTB annotation in EMF
> that I could use to achieve this in the generated code?
> Or, may be, I have to write a custom annotation for this? If yes, is
> there a sample that i could look at?
>
> Ed - Thank you for looking into this!
>
> Thanks,
> Babs
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03403 seconds