eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

Define OclStereotype::allInstances() #1653

Closed eclipse-ocl-bot closed 2 hours ago

eclipse-ocl-bot commented 2 hours ago

| --- | --- | | Bugzilla Link | 485471 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Jan 09, 2016 03:03 EDT | | Modified | Feb 18, 2016 09:12 EDT | | Blocks | 487840 | | Reporter | Ed Willink |

Description

If all stereotypes implicitly extend OclSterotype which extends OclType which extends OclElement which extends OclAny, then OclStereotype::allInstances() is the redefining overload of OclElement::allInstances() that explains the functionality and provides additional power to reason about all-stereotype-applications.

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Jan 09, 2016 03:09

Also define allInstances() twice. Once as static, once as non-static so that ...oclType().allInstances() works.

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Feb 15, 2016 15:33

The chnages are relatively simple but require API filtering.

Defer till major version change.

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Feb 18, 2016 09:12

(In reply to Ed Willink from comment #2)

The chnages are relatively simple but require API filtering.

Defer till major version change.

Similar chnages needed fir oclModelTypes() etc

commit 1e8601b2e64f39eda6726e55385fde2a41158965 pushed to master for M6.