QVTo apply stereotype [message #1838830] |
Fri, 05 March 2021 15:53  |
Eclipse User |
|
|
|
Hi all.
I'm trying to use this plugin:
https://projects.eclipse.org/projects/modeling.mmt.qvt-oml
For create some transformations from one UML model to another UML model,
where I have as input a generic model and a profile model that contains some additional stereotypes, in my case this stereotypes are roles of pattern, like an Observer or a Composite, that I want apply on some Classes. Assuming to have a mapping that reconize the Class where apply a stereotype, I can't find online any good example of how apply a stereotypes on a Classes, or what calls and instructionsare involved in this process.
Somone here have some example of this topic?
Thanks in advance for the future answers
|
|
|
|
|
|
Re: QVTo apply stereotype [message #1838849 is a reply to message #1838847] |
Sat, 06 March 2021 08:32  |
Eclipse User |
|
|
|
Hi
You can certainly define "transformation Profiles(in uml : Uml, in profile : Uml, out umlOut : Uml);" whether it will do what you want I cannot tell since I don't know what you want.
I don;'t know what you mean by "profiles must be defined with a local reference as metamodels".
Programs nearly always show interesting modes of failure until the user learns the eccentricities of the tool. Without a repro I cannot tell what you mean by "Fails because the profile is not well defined or because the declaration is wrong?" let alone reproduce it.
You may find https://wiki.eclipse.org/OCL/ForumNetiquette helpful in providing a repro that enables someone to help with your problems.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.48691 seconds