Community
Participate
Working Groups
Current implementation requires strict type equivalence for multi-valued property assignment. IOW, if the left side property of an assignment is {ordered=true, unique=true}, only OrderedSet collection can be assigned. Consequently, all other collection types have to be casted using ::asOrderedSet() operation. Actually, we never do a direct assignment of the right side collection value as the target property (EReference) gets only elements added, eventually including reset of the original contents. Actually, it is quite annoying requirement and without this, the execution would perform better as we do not necessarily need to create redundant copies of the exact collection types.
Already solved by contribution to MDT OCL. See bug #242880 *** This bug has been marked as a duplicate of bug 242880 ***
Woops, mistakenly closed as duplicate.
Fixed. Sample 'Uml2Rdb' accordingly updated.