This service is archived, please use www.eclipse.org/forums


Home » Capella » Capella Studio » Acceleo and Capella Query Language
Acceleo and Capella Query Language [message #3090] Mon, 22 April 2019 11:56 Go to next message
markgeorgya.gmail.com is currently offline  markgeorgya.gmail.com
Messages: 3
Registered: April 2019
Junior Member
Hello everyone,

I was asking if there is a specific document or a link to learn the language on how to query the the model using Acceleo.
Re: Acceleo and Capella Query Language [message #3091 is a reply to message #3090] Tue, 23 April 2019 03:47 Go to previous messageGo to next message
Michel BISPO is currently offline  Michel BISPO
Messages: 33
Registered: February 2015
Member
Hi,
have a look to Capella Eclipse Help, all sections in Capella Guide > User Manual > Model Analysis > Model Queries
Interpreter

Best regards,

Michel
Re: Acceleo and Capella Query Language [message #3092 is a reply to message #3090] Tue, 23 April 2019 03:58 Go to previous messageGo to next message
samuel.rochet.obeo.fr is currently offline  samuel.rochet.obeo.fr
Messages: 48
Registered: March 2015
Member
Hi,

To complete Michel's answer.

Acceleo 3 is an implementation of the Object Management Group (OMG) MOF Model to Text Language (MTL) standard. So the 'language' is MTL. The documentation is available here: https://wiki.eclipse.org/Acceleo/User_Guide.
See also Acceleo Operations Reference and OCL Operations Reference

Note for an usage with Capella, there is some tips in the thread below
https://polarsys.org/forums/index.php/m/2203/?srch=acceleo#m sg_2203



Be careful not to confuse with AQL (Acceleo Query Language), a slightly different language, used in many others Capella related components (for example in the interpreter view).


Samuel

[Updated on: Tue, 23 April 2019 10:01]

Report message to a moderator

Re: Acceleo and Capella Query Language [message #3096 is a reply to message #3092] Tue, 23 April 2019 09:54 Go to previous messageGo to next message
markgeorgya.gmail.com is currently offline  markgeorgya.gmail.com
Messages: 3
Registered: April 2019
Junior Member
Hi,
Thanks for your answer. Sorry for asking again but I am new to this, so I want to make sure.
I used a sample code that was provided in this thread:
https://polarsys.org/forums/index.php?t=rview&th=571& ;goto=2169
I was able to output a template using this code.
My question is what is the language used in this part AQL or MTL?
Thanks,
Mark
Re: Acceleo and Capella Query Language [message #3097 is a reply to message #3096] Tue, 23 April 2019 10:00 Go to previous message
samuel.rochet.obeo.fr is currently offline  samuel.rochet.obeo.fr
Messages: 48
Registered: March 2015
Member
Hi,

Your sample is in Acceleo 3 (MTL)
Previous Topic: Extension attribute controlling icon of extended element
Next Topic: Capella Data Class Diagrams Metamodels
Goto Forum:
  


Current Time: Sat Mar 28 04:29:48 EST 2020

Total time taken to generate the page: 0.01611 seconds