eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] Support nested multiplicities in Ecore #1517

Open eclipse-ocl-bot opened 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 467443 | | Status | NEW | | Importance | P3 normal | | Reported | May 16, 2015 08:52 EDT | | Modified | Apr 21, 2023 08:51 EDT | | Reporter | Ed Willink |

Description

EGenericType has no index bounds; just type bounds, consequently

property bag4 : Bag(B[1..3))[4..6];

in testAggregatesRoundTrip has to have the inner multiplicity commented out.

Will need an EAnnotation to remedy the deficiency.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Apr 21, 2023 08:51

(In reply to Ed Willink from comment #0)

Will need an EAnnotation to remedy the deficiency.

or reify the specialization

 class B_1_3 extends B[1..3]\
 property bag4 : Bag(B_1_3)[4..6];