How to get instance of stereotype as generated ecore class instance [message #1790507] |
Tue, 12 June 2018 02:01  |
Eclipse User |
|
|
|
If I create a UML profile, and then generate the Ecore representation and its generated code we get a java interface and class for each stereotype in the profile. Now if I apply the profile to a UML model, and then apply one of its stereotypes to some element, lets say component A, I would like to programatically take A as input and be able to get the instance of the java class generated for that stereotype.
I have been spinning my wheels on this for a while now and I suspect either that it is not possible or (more likely) I am misunderstanding something about how to use UML profiles. Any help would be appreciated. If you need more information to help, just let me know and I will explain what I am doing in more detail.
Thanks for your time.
-Randall
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04747 seconds