Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL] UML2 Profile application - multiple source models problem
[ATL] UML2 Profile application - multiple source models problem [message #105240] Mon, 18 May 2009 09:21
Eclipse UserFriend
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
Previous Topic:[ATL] Collection as target element
Next Topic:[ATL]Load input model for atl transformation within java code
Goto Forum:
  


Current Time: Thu May 08 15:34:44 EDT 2025

Powered by FUDForum. Page generated in 0.02905 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top