|Unable to retrieve stereotypes applied to Interface [message #628477]
||Sat, 29 May 2010 08:39
Originally posted by: vanbeerst.gmail.com|
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.
Powered by FUDForum
. Page generated in 0.01645 seconds