Skip to main content



      Home
Home » Modeling » ATL » ATL Metamodel
ATL Metamodel [message #1751763] Fri, 13 January 2017 10:25 Go to next message
Eclipse UserFriend
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 254 times)

[Updated on: Fri, 13 January 2017 10:26] by Moderator

Re: ATL Metamodel [message #1751829 is a reply to message #1751763] Sun, 15 January 2017 09:54 Go to previous messageGo to next message
Eclipse UserFriend
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

Re: ATL Metamodel [message #1752658 is a reply to message #1751829] Wed, 25 January 2017 16:16 Go to previous messageGo to next message
Eclipse UserFriend
Thank you very much indeed
Re: ATL Metamodel [message #1752740 is a reply to message #1752658] Thu, 26 January 2017 13:18 Go to previous messageGo to next message
Eclipse UserFriend
In the ATL metamodel, we have "oclType" class with "name" attribute. I want to know what save into this attribute?
Re: ATL Metamodel [message #1752742 is a reply to message #1752740] Thu, 26 January 2017 14:48 Go to previous messageGo to next message
Eclipse UserFriend
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 15:29 Go to previous messageGo to next message
Eclipse UserFriend
thanks, Isn't there any thesis to describe the elements of ATL metamodel?
Re: ATL Metamodel [message #1753344 is a reply to message #1752846] Sat, 04 February 2017 04:30 Go to previous message
Eclipse UserFriend
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

[Updated on: Sat, 04 February 2017 07:31] by Moderator

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


Current Time: Thu Jul 24 14:20:44 EDT 2025

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

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

Back to the top