Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Using metamodels expressed in UML(Supported formalism for metamodels)
Using metamodels expressed in UML [message #1848696] Tue, 14 December 2021 09:55 Go to next message
Yves BERNARD is currently offline Yves BERNARDFriend
Messages: 146
Registered: July 2014
Senior Member
What are the formalism supported by ATL for the description of data model in addition to Ecore, if any?

Basically, it would be convenient to me to be able to use metamodels represented in UML. The main reason for that is because some of the metamodel I have to work with, contain property redefinitions.
It seems that specifying property redefinitions is not possible in Ecore.

By the way, I wonder how the UML metamodel has been encoded in Ecore since it includes many property redefinitions and it looks like they are well managed.

Thanks for your help.


Yves
Re: Using metamodels expressed in UML [message #1848710 is a reply to message #1848696] Tue, 14 December 2021 17:13 Go to previous messageGo to next message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 581
Registered: September 2012
Location: Belgium
Senior Member

ATL only supports EMF Ecore for metamodels (except for the old "Regular VM" which can support Netbeans MDR). Any metamodels expressed in another language must be converted to EMF before being usable in ATL. The basic UML tree-based editor has a menu option to convert UML Model elements to Ecore models.

Re. your question about the UML metamodel: the UML Ecore model has generated Java code to go with it. A lot of manually written code was added to this generated code in order to obtain the desired behaviour for the UML metamodel. So, while ATL still uses the Ecore API to interact with the metamodel, the implementation for this API is partly generated, partly hand-written specifically for UML.


Cheers,
Dennis
Re: Using metamodels expressed in UML [message #1848711 is a reply to message #1848710] Tue, 14 December 2021 17:53 Go to previous message
Yves BERNARD is currently offline Yves BERNARDFriend
Messages: 146
Registered: July 2014
Senior Member
Hello Dennis,
Thank you for your reply, even if it does not contain good news! :-)


Yves

[Updated on: Tue, 14 December 2021 17:53]

Report message to a moderator

Previous Topic:Call the ATL engine
Next Topic:String express
Goto Forum:
  


Current Time: Sat Nov 11 08:17:18 GMT 2023

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

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

Back to the top