Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Unable to retrieve stereotypes applied to Interface
Unable to retrieve stereotypes applied to Interface [message #536647] Sat, 29 May 2010 08:39
Eclipse UserFriend
Originally posted by:


When I have an Interface in a model and I apply a stereotype to it,
there is no way of retrieving that stereotype. The only stereotype that
is returned using getAppliedStereotypes() is the 'Interface' stereotype.
Is this a bug, or am I missing something here?

I have tried this in the UML editor :
1. create a model containing an Interface.
2. apply a stereotype to the interface
3. close the model
4. reopen the model
5. the stereotype application is lost
when i open the file with a text editor, the stereotype
application is there and it is correctly applied, but
the editor does not show this

I encountered the same problem using QVTO, when giving a model as input
containing an interface with some stereotype applied, the 'Interface'
stereotype is returned from a call to getAppliedStereotypes(), but the
other stereotype is not returned. When I call
getApplicableStereotypes(), the stereotype is in the list of applicable

I only have this problem with Interfaces, I did not encounter the
problem with any of the other types (Class, Association, ...) so far.

Dear regards,
Previous Topic:How to Remove a Class from a Model
Next Topic:Unable to retrieve stereotypes applied to Interface
Goto Forum:

Current Time: Fri Jun 22 02:03:34 GMT 2018

Powered by FUDForum. Page generated in 0.01969 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top