Skip to content

This repository is created for the assignment 5 as apart of MDE(Model Driven Engineering) class 2022 semester at Univaq(University of L'Aquila).

Notifications You must be signed in to change notification settings

MDEGroup/MDE_Assignment_5

 
 

Repository files navigation

MDE_Assignment_5

This repository is created for the Assignment A5 as apart of MDE(Model Driven Engineering) class 2022/2023 semester at Univaq(University of L'Aquila).

Group name: Chicken Restaurant


Members

  1. Cindy aprilia 286702
  2. Mercy Bamiduro 286705
  3. Korawit Rupanya 286847

The assignment make use of model transformations by using the following languages/frameworks:

  • Epsilon (ETL and EGL)

Task A5.1

Apply different refactoring operations on the metamodel defined in A2 to create an updated version. Those refinements should include:

  • deletion and addition of concepts,
  • concept renaming,
  • structural refinements, for instance:
    • adding/removing hierarchies,
    • adding/removing structural features (i.e., attributesand references)
    • change attribute

Such refining steps are preliminary for the realization of task A3.2. At this stage, we will evaluate the complexity of the refining steps and their correct realization.

Here is the old model that we have

Screenshot 2022-12-16 at 23 47 47

And here is the new model that we refactor, we called it a source model

  • deletion and addition of concepts => Deleted Index & Individual
  • concept renaming => FROM System TO WebApplication
  • structural refinements, for instance:
    • adding/removing hierarchies => As we deleted Index & Individual the hierarchies had been removed.
    • adding/removing structural features (i.e., attributesand references) => We remove the Relation.

Screenshot 2566-01-11 at 04 47 33

Screenshot 2566-01-11 at 04 47 57

Task A5.2

Define a model-to-model transformation to migrate models conforming to the initial metamodel version to the one refined in task A3.1. For this task,feel free to choose your preferred transformation language, i.e., ATL or ETL.Alternatively,the students can chooce an existing relational database metamodel from the existing model repositories (e.g., https://web.imt-atlantique.fr/x-info/atlanmod/index.php?title=Ecore)and transform a web model to a relational DB model.

Screenshot 2566-01-12 at 01 42 32

Task A5.3

Define a model-to-text transformation that generates SQL statements for generating SQL tables and queries.By resembling the demo implemented during the lectures,for each entity the M2T should generate:

  • a CREATE table statement,
  • a SELECT(NOT *) statement,•a SELECT statement with WHERE isPK condition.

For this task,feel free to choose your preferred model-to-text transformation (M2T) language, i.e., Acceleo or EGL

About

This repository is created for the assignment 5 as apart of MDE(Model Driven Engineering) class 2022 semester at Univaq(University of L'Aquila).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%