Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] model modification possible?
[ATL] model modification possible? [message #53621] Thu, 19 July 2007 19:01 Go to next message
Sandro Boehme is currently offline Sandro BoehmeFriend
Messages: 95
Registered: July 2009
Member
Hi,

after reading some parts of the user manual and searching in the
newsgroup I could not find out if it is possible or practical to modify
(refactoring in my case) a model directly without creating a new one.
Did I miss something? If I understand the refining execution mode
correctly it still creates a new model copying the elements that have
not been touched.
In my case I can have a huge model where duplicating it is not an option.

What do you think?

Bye,

Sandro
Re: [ATL] model modification possible? [message #54016 is a reply to message #53621] Fri, 20 July 2007 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Sandro Böhme a écrit :
> Hi,

Hi Sandro,

> after reading some parts of the user manual and searching in the
> newsgroup I could not find out if it is possible or practical to modify
> (refactoring in my case) a model directly without creating a new one.
> Did I miss something?

ATL always creates an new output model (or several) from a given input
model (or several). There are no ways to directly modify the input model.

> If I understand the refining execution mode
> correctly it still creates a new model copying the elements that have
> not been touched.
> In my case I can have a huge model where duplicating it is not an option.
>
> What do you think?

Using the "refining" mode seems to be a good idea in your case since you
will only have to specify the rules concerning the elements to modify.

Note that this "refining" mode is only supported, for the time being, by
the ATL 2004 compiler (and not by the ATL 2006 one).

>
> Bye,
>
> Sandro

Best regards,

Hugo

--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Re: [ATL] model modification possible? [message #54061 is a reply to message #54016] Fri, 20 July 2007 16:18 Go to previous message
Sandro Boehme is currently offline Sandro BoehmeFriend
Messages: 95
Registered: July 2009
Member
Hello Hugo,


Hugo Bruneliere schrieb:
> Sandro Böhme a écrit :
>> Hi,
>
> Hi Sandro,
>
>> after reading some parts of the user manual and searching in the
>> newsgroup I could not find out if it is possible or practical to
>> modify (refactoring in my case) a model directly without creating a
>> new one. Did I miss something?
>
> ATL always creates an new output model (or several) from a given input
> model (or several). There are no ways to directly modify the input model.
that's too bad, because I would be glad to work with ATL. E.g. stepping
through a transformation and seeing the actual values using a debugger
is a nice feature.
Anyway, thanks for your feedback. It's good to know that.


>> If I understand the refining execution mode correctly it still creates
>> a new model copying the elements that have not been touched.
>> In my case I can have a huge model where duplicating it is not an option.
>>
>> What do you think?
>
> Using the "refining" mode seems to be a good idea in your case since you
> will only have to specify the rules concerning the elements to modify.
>
> Note that this "refining" mode is only supported, for the time being, by
> the ATL 2004 compiler (and not by the ATL 2006 one).
In my case I would like to modify a model backed by a JCR
( http://en.wikipedia.org/wiki/Content_repository_API_for_Java) for JCR
Management (http://www.eclipse.org/emft/projects/jcrm/). Such a
repository could be too big to get duplicated.

Best regards,

Sandro
Previous Topic:Using collection in an imperative block section
Next Topic:[ATL] problem with UML2 metamodel
Goto Forum:
  


Current Time: Mon Jan 18 09:03:48 GMT 2021

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

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

Back to the top