|
Re: Unique=false for EAttribute [message #1726572 is a reply to message #1726562] |
Mon, 14 March 2016 17:35 |
Ed Willink Messages: 7658 Registered: July 2009 |
Senior Member |
|
|
Hi
EAttributes must be ok; we'd have endless complaints if they didn't
allow duplicates.
Ecore doesn't inherently implement OrderedSet, which would apply fast
Set functionality. Ecore provides EList everywhere, sometimes with slow
linear search Set functionality.
Regards
Ed Willink
On 14/03/2016 16:40, Philipp W. Kutter wrote:
> As fas as I know, in ECore, the generated code always implements
> OrderedSet (Lists without duplicates)
>
> There is a bugzilla regarding the question how to fix this for EReferences.
>
> What is the status for EAttributes? What is the best way to implement
> unique=false for simple EAttributes, such that we get a Sequence (List
> with possible duplicates) in the Java code, as well as in the OCL.
>
> Any hint welcome.
>
> ((And forgive me if this was already fixed, or never an issue for
> EAttributes, but only for EReferences.))
|
|
|
|
Powered by
FUDForum. Page generated in 0.03515 seconds