[ATL] UML2 Profile application - multiple source models problem [message #105240] |
Mon, 18 May 2009 09:21 |
Eclipse User |
|
|
|
Hi all,
I need to write a transformation that takes as input a profiled UML model
and generates as output another profiled UML model. The source and target
profiles are different though. As far as I understood from previous posts,
I need to pass the profile as a source model, so it means I will have 2
models as source, the actual model I want to transform (defined as 'IN')
and the profile (defined as 'PRO1') that I want to apply on the target
model. Only one variable for the target model needs to be defined, let's
call it 'OUT'.
create OUT : UML from IN : UML, PRO1: UML; --PRO1 is the UML2 profile
model; it should not be transformed, just applied on the target
As you see, the metamodel of all the 3 variables is UML.
The problem I have is that not only my 'real' input model gets transformed
but also the profile model, which is not wanted. This is because my
transformation defines generic rules (specifying UML:Package, or UML:Class
in the from clause for example). Is there a way to instruct ATL not to
take the profile model as a 'real' input model? or otherwise is there a
way to specify a profile application without having to pass the it as an
input model?
Thanks in advance
Kind regards
Agustina
|
|
|
Powered by
FUDForum. Page generated in 0.02905 seconds