Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Re: [ATL] matched rule: imperative part without target section
Re: [ATL] matched rule: imperative part without target section [message #495273] Wed, 04 November 2009 12:55
Hugo Bruneliere is currently offline Hugo BruneliereFriend
Messages: 674
Registered: July 2009
Senior Member
Hi Mats,

This is a question about ATL which should be rather posted onto the M2M
newsgroup.

Best regards,

Hugo

mats a écrit :
> hello everyone,
> I'm actually an ATL virgin, but I've found an interesting problem:
> I've got a transformation with two input models which shall be merged
> into one new model based on some rules. It can happen, that an element
> x1 of input1 and an element x2 of input2 are marged to a new element
> xNew in the output. But based on the informations in x1 and x2 (if they
> eliminate each other) no element shall be created in the output. I first
> thought about a matched rule for x1 and x2 with no target-section. The
> do-section could be used to find out If they eliminate each other, if
> they don't, a called rule could be used to produce the element in the
> output.
> Problem: matched rules without target-sections are forbidden :(
> any ideas, how to solve this problem?
> Mats


--
-------------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (INRIA & EMN) - Room B206
Ecole des Mines de Nantes
4, rue Alfred Kastler
44307 Nantes Cedex 3 - France
Office: +33 (0)2 51 85 82 21
EMail: hugo.bruneliere@inria.fr
-------------------------------------------------


--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Previous Topic:[QVTO] runtimeexception : VarParameterImpl cannot be cast to MappingParameter
Next Topic:[QVTO] Get static model (hardcoded model)
Goto Forum:
  


Current Time: Fri Apr 19 13:51:48 GMT 2024

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

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

Back to the top