|[Xtend] Model modification of a UML model using a profile [message #649047]
||Mon, 17 January 2011 12:28
Registered: November 2009
I am trying to modify an uml model with xTend, but find it hard to do so.
A uml to ecore transformation works great, but now need a uml to uml transformation and I cannot really do much.
This is the situation:
I have created a UML Model with Topcased. This UML Model is using a custom UML Profile.
All I managed so far is to add a new uml::Class to my model.
But the resulting model lost all applied stereotypes. Which means I got my new class, but all other classes lost their stereotypes.
But the profile is still referenced in the model.
What would be one problem.
The other Problem is that I cannot do much else. For example I cannot figure out how to add a new attribute to the new class.
Because I cant figure out how to provide a uml::Type instead of an xpand2::Type.
createOwnedAttribute(String, Type, Integer, Integer)
Does Xtend even has the capabitilies I need?
- UML modificiation / UML-to-UML transformation
- Keeping the applied stereotypes / applying stereotypes
If not can the other m2m languages do it? ATL for example?
EDIT: Oh, I was going to post it in the M2M forum and not the M2T one, could an admin move the topic please?.
[Updated on: Mon, 17 January 2011 12:31]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.12686 seconds