|Re: Uniqueness in derived EReferences [message #1173205 is a reply to message #1171522]
||Wed, 06 November 2013 11:10
| Ed Merks
Registered: July 2009
On 05/11/2013 10:36 AM, Felix Dorner wrote:
> Given that EReferences are always implicitly unique (even if their
> unique attribute is set to false), how should I handle derived
> references where I have full responsibility on the result list contents?
Try to make them unique...
> Are there any constraints in the EMF core (including Edit/UI) that
> would assume that even derived EReferences do not contain elements
> multiple times?
Yes, the commands assume there won't be more than one instance, but if
it's derived, you likely can't edit them directly anyway. It probably
won't cause you any direct problems if it's isChangeable false, but no
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01355 seconds