| How to get stereotypes after loading XMI resource [message #1863954] | 
Thu, 07 March 2024 17:15   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hi, 
 
I am using the UML2 libraries and I can read in XMI resources. 
 
I can traverse through the model and see all of the packages, classes, associations, connectors etc... 
 
I know the classes have stereotypes applied. I can see it in the XMI as well. 
 
But all of these methods return empty. I traversed the model and tried them on all model elements. 
getApplicableStereotypes 
getAppliedStereotypes 
getRequiredStereotypes 
getStereotypeApplications 
 
After loading the resource, do I need to do something else to make this work? 
 
Thank you for your time and patience.
 |  
 |  
  | 
 | 
 | 
Powered by 
FUDForum. Page generated in 0.07942 seconds