Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Uniqueness of subUnits

Hello,

I tested the unique attribute a while ago and I believe it does not work correctly (at least in EMF 2.6.1). You can't add the same element to a multi-valued reference list in EMF no matter whether unique is set to false or not.

I attached a little test program to demonstrate this. Otherwise I am fine with the change IF it will actually work ;)

Enrico

On 15.07.2011 13:16, Stefan Jurack wrote:
This is something Felix mentioned already I guess.

I absolutely agree in changing this!

Regards, Stefan

PS@Gregor and Felix: Needless to say that your suggestions are
appreciated as well ;-)


Am 15.07.2011 15:14, schrieb Christian Krause:
Hi,
the unique-flag of the subUnits features in e.g. SequentialUnit is set
to true. This seems to make no sense because we should be allowed to
invoke units multiple times. Is it ok if I change this?

cheers,
christian
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev

_______________________________________________ henshin-dev mailing list henshin-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/henshin-dev

Attachment: UniqueTest.zip
Description: Zip compressed data


Back to the top