Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » ATL Metamodel
ATL Metamodel [message #1751763] Fri, 13 January 2017 15:25 Go to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
I have the ATL Metamodel (attached file). I want to know Is there any document to explain this metamodel in more detail?
  • Attachment: ATL.ecore
    (Size: 34.15KB, Downloaded 225 times)


Member of MDSE Research Group
http://mdse.ui.ac.ir

[Updated on: Fri, 13 January 2017 15:26]

Report message to a moderator

Re: ATL Metamodel [message #1751829 is a reply to message #1751763] Sun, 15 January 2017 14:54 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
Senior Member

The closest documentation is this: https://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Language

To learn more about how ATL text maps to the metamodel, you can inject your transformations into XMI models (requires ATL/EMFTVM to be installed):

  1. Right-click an ATL file, and select Open With -> Other...
  2. Select Sample Reflective Ecore Model Editor
  3. Select from the main menu File -> Save As...
  4. Choose a folder and file name ending in .xmi



Cheers,
Dennis
Re: ATL Metamodel [message #1752658 is a reply to message #1751829] Wed, 25 January 2017 21:16 Go to previous messageGo to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
Thank you very much indeed

Member of MDSE Research Group
http://mdse.ui.ac.ir
Re: ATL Metamodel [message #1752740 is a reply to message #1752658] Thu, 26 January 2017 18:18 Go to previous messageGo to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
In the ATL metamodel, we have "oclType" class with "name" attribute. I want to know what save into this attribute?

Member of MDSE Research Group
http://mdse.ui.ac.ir
Re: ATL Metamodel [message #1752742 is a reply to message #1752740] Thu, 26 January 2017 19:48 Go to previous messageGo to next message
louis andia. is currently offline louis andia.Friend
Messages: 47
Registered: November 2016
Member
It's the name of your class in your model if his type is OclModelElement, otherwise it's look like to have no value.
For example, if you have something like o: MM!Class(), you will have an OclType element with name="Class"

You can easily explore your ATL model with a model browser like "MoDisco Model Browser" (right clic on your atl file (no need to generate a xmi version) -> open with -> choose your viewer).
I hope this will help further investigations.
Re: ATL Metamodel [message #1752846 is a reply to message #1752742] Sat, 28 January 2017 20:29 Go to previous messageGo to next message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
thanks, Isn't there any thesis to describe the elements of ATL metamodel?

Member of MDSE Research Group
http://mdse.ui.ac.ir
Re: ATL Metamodel [message #1753344 is a reply to message #1752846] Sat, 04 February 2017 09:30 Go to previous message
Banafsheh Azizi is currently offline Banafsheh AziziFriend
Messages: 328
Registered: July 2016
Senior Member
In the ATL metamodel, we have "VariableExp" class with "name" attribute and "referredVariable" references to "VariableDeclaration" class with "varName" attribute. Can any one explain what are these elements?

I have also another questions, "oclExpression" contains all Expressions or just Expressions using ocl?
Is "Binding" Assignment Statement?
What is the difference between "BindingStat" and "Binding" classes?
Would you please make an example of "propertyName", attribute of "Binding" class?


Sorry for a lot of questions.
Many thanks for your time


Member of MDSE Research Group
http://mdse.ui.ac.ir

[Updated on: Sat, 04 February 2017 12:31]

Report message to a moderator

Previous Topic:Empty XMI when running a transformation from an eclipse plugin
Next Topic:UnresolvedReferenceException:
Goto Forum:
  


Current Time: Fri Apr 19 21:44:04 GMT 2024

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

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

Back to the top