Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [Epsilon] Informations about transformations strategies
[Epsilon] Informations about transformations strategies [message #376928] Sat, 28 April 2007 16:52 Go to next message
Eclipse UserFriend
Originally posted by: merlet.l.free.fr

Hi all,

I'am trying to understand what is the aim of "transformations strategies"...
I have already read the transformation strategies section of the online
doc, but i don't see exactly what it consists of.
Is it only for using ETL in Java ?

If someone can explain it to me, I would be grateful.

Best regards,

Laurent MERLET
Re: [Epsilon] Informations about transformations strategies [message #376929 is a reply to message #376928] Sun, 29 April 2007 15:57 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Laurent,

A transformation strategy can be attached to an ETL transformation (via
the Transformation Strategy tab or the respective API if you are running
from Java) to define how the transformation will handle input elements
for which the user has not specified an explicit transformation rule.

For example, the CommonEmfMetamodel transformation strategy, works very
similarly to the ATL "refine" mode: for each element of the source model
for which no transformation rule has been specified, it creates a copy
of the element in the target model. In case you need your transformation
to do something "slightly" different than the strategy you can also use
the "auto" keyword. You can find a working example of all these in the
OORefinement example available at:
http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.gmt /epsilon/examples/OORefinement/OORefinement.zip

ETL also provides an extension point which you can use to implement
custom transformation strategies (if you need more information about
this feature please let me know).

Cheers,
Dimitrios

Laurent Merlet wrote:
> Hi all,
>
> I'am trying to understand what is the aim of "transformations
> strategies"...
> I have already read the transformation strategies section of the online
> doc, but i don't see exactly what it consists of.
> Is it only for using ETL in Java ?
>
> If someone can explain it to me, I would be grateful.
>
> Best regards,
>
> Laurent MERLET
Re: [Epsilon] Informations about transformations strategies [message #376931 is a reply to message #376929] Sun, 29 April 2007 16:56 Go to previous message
Eclipse UserFriend
Originally posted by: merlet.l.free.fr

Hi Dimitrios,

Thanks for your explanations. I have done the OORefinement example and I
have now a better insight of what it means.

Best regards,

Laurent MERLET



Dimitrios Kolovos a écrit :
> Hi Laurent,
>
> A transformation strategy can be attached to an ETL transformation (via
> the Transformation Strategy tab or the respective API if you are running
> from Java) to define how the transformation will handle input elements
> for which the user has not specified an explicit transformation rule.
>
> For example, the CommonEmfMetamodel transformation strategy, works very
> similarly to the ATL "refine" mode: for each element of the source model
> for which no transformation rule has been specified, it creates a copy
> of the element in the target model. In case you need your transformation
> to do something "slightly" different than the strategy you can also use
> the "auto" keyword. You can find a working example of all these in the
> OORefinement example available at:
> http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.gmt /epsilon/examples/OORefinement/OORefinement.zip
>
>
> ETL also provides an extension point which you can use to implement
> custom transformation strategies (if you need more information about
> this feature please let me know).
>
> Cheers,
> Dimitrios
>
> Laurent Merlet wrote:
>> Hi all,
>>
>> I'am trying to understand what is the aim of "transformations
>> strategies"...
>> I have already read the transformation strategies section of the
>> online doc, but i don't see exactly what it consists of.
>> Is it only for using ETL in Java ?
>>
>> If someone can explain it to me, I would be grateful.
>>
>> Best regards,
>>
>> Laurent MERLET
Re: [Epsilon] Informations about transformations strategies [message #581531 is a reply to message #376928] Sun, 29 April 2007 15:57 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Laurent,

A transformation strategy can be attached to an ETL transformation (via
the Transformation Strategy tab or the respective API if you are running
from Java) to define how the transformation will handle input elements
for which the user has not specified an explicit transformation rule.

For example, the CommonEmfMetamodel transformation strategy, works very
similarly to the ATL "refine" mode: for each element of the source model
for which no transformation rule has been specified, it creates a copy
of the element in the target model. In case you need your transformation
to do something "slightly" different than the strategy you can also use
the "auto" keyword. You can find a working example of all these in the
OORefinement example available at:
http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.gmt /epsilon/examples/OORefinement/OORefinement.zip

ETL also provides an extension point which you can use to implement
custom transformation strategies (if you need more information about
this feature please let me know).

Cheers,
Dimitrios

Laurent Merlet wrote:
> Hi all,
>
> I'am trying to understand what is the aim of "transformations
> strategies"...
> I have already read the transformation strategies section of the online
> doc, but i don't see exactly what it consists of.
> Is it only for using ETL in Java ?
>
> If someone can explain it to me, I would be grateful.
>
> Best regards,
>
> Laurent MERLET
Re: [Epsilon] Informations about transformations strategies [message #581567 is a reply to message #376929] Sun, 29 April 2007 16:56 Go to previous message
Eclipse UserFriend
Originally posted by: merlet.l.free.fr

Hi Dimitrios,

Thanks for your explanations. I have done the OORefinement example and I
have now a better insight of what it means.

Best regards,

Laurent MERLET



Dimitrios Kolovos a écrit :
> Hi Laurent,
>
> A transformation strategy can be attached to an ETL transformation (via
> the Transformation Strategy tab or the respective API if you are running
> from Java) to define how the transformation will handle input elements
> for which the user has not specified an explicit transformation rule.
>
> For example, the CommonEmfMetamodel transformation strategy, works very
> similarly to the ATL "refine" mode: for each element of the source model
> for which no transformation rule has been specified, it creates a copy
> of the element in the target model. In case you need your transformation
> to do something "slightly" different than the strategy you can also use
> the "auto" keyword. You can find a working example of all these in the
> OORefinement example available at:
> http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.gmt /epsilon/examples/OORefinement/OORefinement.zip
>
>
> ETL also provides an extension point which you can use to implement
> custom transformation strategies (if you need more information about
> this feature please let me know).
>
> Cheers,
> Dimitrios
>
> Laurent Merlet wrote:
>> Hi all,
>>
>> I'am trying to understand what is the aim of "transformations
>> strategies"...
>> I have already read the transformation strategies section of the
>> online doc, but i don't see exactly what it consists of.
>> Is it only for using ETL in Java ?
>>
>> If someone can explain it to me, I would be grateful.
>>
>> Best regards,
>>
>> Laurent MERLET
Previous Topic:[Epsilon] Informations about transformations strategies
Next Topic:oaw: Outline View not working in xtext generated editor
Goto Forum:
  


Current Time: Thu Apr 18 19:53:49 GMT 2024

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

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

Back to the top