Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Inheritance in ETL(How can I extend multiple target parameters of transformation rule)
Inheritance in ETL [message #1852445] Mon, 16 May 2022 17:02 Go to next message
APURVANAND SAHAY is currently offline APURVANAND SAHAYFriend
Messages: 2
Registered: June 2021
Junior Member
I have a few questions regarding the inheritance properties of ETL.

1) If we have multiple target parameters in an abstract base rule, how can we extend these target parameters to the derived rule?

2) If some of the types of the target parameters in a rule are the same (if possible), then how can we differentiate those target parameters in the derived class.

I was working on the KM3 to XML transformation and I try to convert its atl transformation into its similar etl transformation which may result in same output model. However, I am facing problem in using the inheritance properties in ETL file. The following required files are given in the attachment.
  • Attachment: KM32XML.etl
    (Size: 5.41KB, Downloaded 76 times)
  • Attachment: KM3.ecore
    (Size: 6.26KB, Downloaded 76 times)
  • Attachment: XML.ecore
    (Size: 1.98KB, Downloaded 67 times)
  • Attachment: sample-km3.xmi
    (Size: 50.62KB, Downloaded 75 times)
Re: Inheritance in ETL [message #1852457 is a reply to message #1852445] Tue, 17 May 2022 07:25 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Apurv,

Could you please produce a minimal example (no more than a couple of metaclasses/rules as per the instructions in [1]) that demonstrates the issue you are encountering? Please either use the Epsilon Playground and share a link to your example, or follow the instructions in [3] to export your (minimal) Eclipse project as a zipped archive, including stored launch configurations [4].

Best,
Dimitris

[1] https://www.eclipse.org/epsilon/doc/articles/minimal-examples/#a-minimal-version
[2] https://www.eclipse.org/epsilon/live/?tree2graph
[3] https://www.eclipse.org/epsilon/doc/articles/minimal-examples/#exporting-an-eclipse-project-from-your-workspace
[4] https://www.eclipse.org/epsilon/doc/articles/minimal-examples/#epsilon-launch-configurations
Previous Topic:Generating xml file from xml model from java code
Next Topic:[EVL] Validation of linked model instances
Goto Forum:
  


Current Time: Thu Apr 25 07:40:43 GMT 2024

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

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

Back to the top