eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

Add support for Ecore/UML generics #407

Closed eclipse-ocl-bot closed 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 286644 | | Status | CLOSED DUPLICATE of bug 192907 | | Importance | P3 enhancement | | Reported | Aug 14, 2009 10:44 EDT | | Modified | Sep 25, 2009 16:25 EDT | | Version | 1.3.0 | | Reporter | Ed Willink |

Description

It is not currently possible to do:

context SomeClass

if SomeClass is an EClass defined with generics.

Since both Ecore and UML support generics, there seems to be a very obvious extension emulating Java rather than C++:

context SomeClass

This only affects CompleteOCL, so the lack of EMOF support for generics is not a problem.

Should we raise an OMG Issue against CompleteOCL and provide a prototype implementation?

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Aug 14, 2009 10:52

Adding James Bruck: Do you have any opinions on the wisdom, utility or practicaility of this, particularly from a UML perspective.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Sep 25, 2009 16:25

This bug has been marked as a duplicate of bug 192907