Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » refining mode, 2 source models one is refined and the other is auxiliary
icon4.gif  refining mode, 2 source models one is refined and the other is auxiliary [message #543255] Mon, 28 June 2010 20:08 Go to next message
wafaa is currently offline wafaaFriend
Messages: 163
Registered: January 2010
Location: Egypt
Senior Member
hi all

is it possible to have 2 source models in the refining mode, one is refined and the other is used to get elements if necessary and the result is single target model

like below

create OUT: UML from IN1: UML , IN2: UML;

where IN1 is being refined in where new elements are added to produce OUT. but in2 is only used to get information
Re: refining mode, 2 source models one is refined and the other is auxiliary [message #544639 is a reply to message #543255] Mon, 05 July 2010 07:45 Go to previous messageGo to next message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 556
Registered: July 2009
Senior Member
Not 100% sure but the last time I met this case, I made a classic transformation (which allowed me to add other models) and launched it in Java by adding the "refined" model as inOut and this (magically ?) worked.
[ATL] Re: refining mode, 2 source models one is refined and the other is auxiliary [message #545065 is a reply to message #543255] Tue, 06 July 2010 14:21 Go to previous message
William Piers is currently offline William PiersFriend
Messages: 301
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------080709090107050605090707
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello,

You can use the following syntax:
create OUT: UML refining IN1: UML , IN2: UML;

IN1 will be refined into OUT (inout model), and IN2 will be used as an
auxilary model (readonly).

Best regards,

William

Le 28/06/2010 22:08, wafaa a écrit :
> hi all
>
> is it possible to have 2 source models in the refining mode, one is
> refined and the other is used to get elements if necessary and the
> result is single target model
>
> like below
>
> create OUT: UML from IN1: UML , IN2: UML;
>
> where IN1 is being refined in where new elements are added to produce
> OUT. but in2 is only used to get information

--------------080709090107050605090707
Content-Type: text/x-vcard; charset=utf-8;
name="william_piers.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="william_piers.vcf"

YmVnaW46dmNhcmQNCmZuOldpbGxpYW0gUGllcnMNCm46UGllcnM7V2lsbGlh bQ0Kb3JnOk9i
ZW8NCmFkcjoyIHJ1ZSBSb2JlcnQgU2NodW1hbm47O2xvdCAyNDtOQU5URVM7 OzQ0NDA4O0Zy
YW5jZQ0KZW1haWw7aW50ZXJuZXQ6d2lsbGlhbS5waWVyc0BvYmVvLmZyDQp0 aXRsZTpNREEg
Q29uc3VsdGFudA0KdGVsO3dvcms6KzMzICgwKTIgNTEgMTMgNTAgNTMNCnVy bDpodHRwOi8v
d3d3Lm9iZW8uZnINCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQNCg0K
--------------080709090107050605090707--
Previous Topic:[ATL] very strange behaviour with xmi:ID
Next Topic:Ant import on buildfile with macros for javac
Goto Forum:
  


Current Time: Thu Apr 25 09:43:45 GMT 2024

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

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

Back to the top