eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] Introduce PackageOwner #2236

Open eclipse-ocl-bot opened 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 578994 | | Status | NEW | | Importance | P3 normal | | Reported | Feb 26, 2022 06:16 EDT | | Modified | Feb 26, 2022 08:52 EDT | | Blocks | 509309, 578981 | | Reporter | Ed Willink |

Description

Bug 578981 identifies that the use of NAMESPACE as the required type filter for the first element of a long qualified name is too generous.It allows TYPE when only MODEL or PACKAGE is permitted. We need a new Abstract PackageOwner type to generalize Model and Package.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Feb 26, 2022 08:52

Introducing a new Pivot model interface just before a +0.0.1 RC1 is a bit risky.

Prototyping with a fake EClass works, but is a bit klunky and involves a possible semantic breakage that would be reverted once done properly. The fudge is worse than the proper coding. Best left till after the +0.0.1 release.