hugo bruneliere (inria) modelplex technology showcase

12
1 Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase University of Twente, Enschede (The Netherlands), 23 rd of June 2009 Combining Model Transformation, Model Weaving and Megamodeling Use Case: Performance-Annotated UML2 State Charts

Upload: lulu

Post on 04-Feb-2016

16 views

Category:

Documents


0 download

DESCRIPTION

Combining Model Transformation, Model Weaving and Megamodeling Use Case: Performance-Annotated UML2 State Charts. Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase University of Twente, Enschede (The Netherlands), 23 rd of June 2009. Overall Context. UML. Yesterday: Contemplative. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

1

Hugo Bruneliere (INRIA)

MODELPLEX Technology ShowcaseUniversity of Twente, Enschede (The Netherlands),

23rd of June 2009

Combining Model Transformation, Model Weaving and Megamodeling

Use Case: Performance-Annotated UML2 State Charts

Page 2: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

2

Overall Context

Yesterday:Contemplative

UML

Page 3: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

3

Overall Context

ATL

Yesterday:Contemplative

Today: Towards automation

(Model Transformation)

UML

Page 4: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

4

Overall Context

ATL

AMW

Yesterday:Contemplative

Today: Towards automation

(Model Transformation)

Today & Tomorrow: Declarative Model Correspondences

(Model Weaving + Model Transformation)

UMLATL

Page 5: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

5

Context

ATL

AMW

Yesterday:Contemplative

Today: Towards automation

(Model Transformation)

Today & Tomorrow: Declarative Model Correspondences

(Model Weaving + Model Transformation)

Tomorrow: Managing global modeling resourcesin MDE-oriented developmentof complex software systems

(Global Model Management + Model Weaving + Model Transformation)

UMLATL

AM3

Page 6: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

6

• AM3 Megamodeling (Global Model Management) tool:

Deal with the numerous modeling artifacts involved in the Model-Driven Engineering process

http://www.eclipse.org/gmt/am3/

• ATL Model-to-Model Transformation tool:

Implement the transformations composing the transformation chain

Provide an automated traceability support http://www.eclipse.org/m2m/atl/

• AMW Model Weaving tool:

Define, represent and handle traceability models http://www.eclipse.org/gmt/amw/

Proposed Solution: Complementary Tools

Page 7: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

7

Proposed Solution: Complementary Tools

Megamodeling: represent references to models and relationships between them as models (called megamodels) Similar to a metadata repository on involved modeling artifacts

Generic & extensible solution applied to Traceability:

Potential Applications

• Inter-DSLs’ navigability

• Transformation Chain’s Traceability

• Tool Interoperability

• Etc

Solution

Higher Order Transformations or HOTs (Model Transformation)

GMM +Model Weaving

GMM +Model Weaving

Problem

• Create traceability links

• Represent traceability links

• Use traceability links (navigation)

Page 8: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

8

Inputs

Use Case: Performance-Annotated UML2 State Charts

Page 9: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

9

Output

Use Case: Performance-Annotated UML2 State Charts

Page 10: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

10

Use Case: Performance-Annotated UML2 State Charts

Transformation chain from an Excel file to a profiled UML2 model

Model Discovery Model Understanding

XML model

Trace model

Metrics model

Performance- annotated

UML2 State Chart model

Legend: I njection

Model- to- model transformation

Raw data

Excel file containing

execution traces info

Excel model

UML2 State Chart model

PerformanceUML2 Profile model

Page 11: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

11

Use Case: Performance-Annotated UML2 State Charts

Transformation chain from an Excel file to a profiled UML2 model

Model Discovery Model Understanding

XML model

Trace model

Metrics model

Performance- annotated

UML2 State Chart model

Legend: I njection

Model- to- model transformation

Raw data

Excel file containing

execution traces info

Excel model

UML2 State Chart model

PerformanceUML2 Profile model

Page 12: Hugo Bruneliere (INRIA) MODELPLEX Technology Showcase

12

Demo…

Starting from the ATL project providing the transformation chain (metamodels, transformations, inputs, etc)

Automated discovery of the megamodel from this ATL project

Launching of the transformations composing this chain using the discovered information Application of the automated traceability mechanism

Inter-model navigability from the result of the execution of the different transformations composing this chain

Use Case: Performance-Annotated UML2 State Charts