-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCL engine lacks support for stereotypes #6
Comments
By Christian Damus on Oct 25, 2005 11:45 Recommend "isStereotypedAs" instead of "isStereotypeOf". The latter would seem |
By Vishy Ramaswamy on Oct 31, 2005 13:48 Need to add support for clients to define new operations on OCL types. Should orovide support for extending the existing Environment API for look-up |
By Nobody - feel free to take it on Nov 01, 2005 10:42 Concur with the need as expressed in the Description. Without this capability, OCL |
By Christian Damus on Dec 20, 2005 09:47 This defect expresses the same requirement as Bug 117542, which has already been resolved by providing the hook in the Environment API (as described in this bug). It appears that it is a UML client (as the discussion is about stereotypes) that now simply needs to make the appropriate operations available in its UML-to-Ecore adapter, and to provide the implementations for them in its environment. In case this client is using the org.eclipse.uml2 API, I hear that the next version of that API is to have all of the "custom operations" such as isApplied(Stereotype) modeled in Ecore, so that may simplify the problem. *** This bug has been marked as a duplicate of 117542 *** |
By Ed Willink on May 27, 2011 02:49 Closing after over 18 months in resolved state. |
| --- | --- |
| Bugzilla Link | 112953 |
| Status | CLOSED DUPLICATE of bug 117542 |
| Importance | P1 enhancement |
| Reported | Oct 18, 2005 11:47 EDT |
| Modified | May 27, 2011 02:49 EDT |
| Version | 1.0.0 |
| Reporter | Kevin Cornell |
Description
A user can define a profile with stereotypes and with OCL constraints.
Unfortunately these constraints can only be made against the UML meta-model and
not the profile's stereotypes, which limits the use of OCL in all but the most
simple of profiles.
Solution: OCL has the expressions isTypeOf, isKindOf, it would be very useful
to have the same for testing stereotypes , isStereotypeOf, isStereotypeKindOf.
The text was updated successfully, but these errors were encountered: