er 2015 emfviews

17
EMF Views: A View Mechanism for Integrating Heterogeneous Models Hugo Bruneliere , Jokin Garcia, Manuel Wimmer and Jordi Cabot ER 2015 @ Stockholm, Sweden Monday 19 th of October 2015

Upload: jokin-garcia-perez

Post on 14-Apr-2017

98 views

Category:

Software


0 download

TRANSCRIPT

Page 1: ER 2015 EMFViews

EMF Views: A View Mechanism for

Integrating Heterogeneous Models

Hugo Bruneliere, Jokin Garcia, Manuel Wimmer and Jordi Cabot

ER 2015 @ Stockholm, SwedenMonday 19th of October 2015

Page 2: ER 2015 EMFViews

Model Views – (Industrial) Motivation

Page 3: ER 2015 EMFViews

Model Views – Base Idea

Modeling World

DatabaseWorld

IT Architect Decision-makerIT Engineer

SELECT

PROJECTJOIN

Page 4: ER 2015 EMFViews

Model Views – State-of-the-art (1/3)

● Views in databases (relational, OO)

● Views in modeling languages (UML, ER) intra-model ones...

● What about inter-model views?

Page 5: ER 2015 EMFViews

Model Views – State-of-the-art (2/3)

● Multi-viewpoint modelingo Single base, generative, mappings...

Model a3

Model a2

Model a1

Multi-viewpointMechanismModel a

Page 6: ER 2015 EMFViews

Model Views – State-of-the-art (3/3)

● Traditional model compositiono Common model (~view) from connected oneso Merge, inheritance, generative...

Model c

Model b

Model a

CompositionMechanism

Model abc

Page 7: ER 2015 EMFViews

Model Views – Key Challenges (1/2)

● Genericityo All modeling languages

● Expressivityo SELECT-PROJECT-JOIN-like

● Non-intrusivenesso Existing models preserved

● Interoperability o View = regular model

Page 8: ER 2015 EMFViews

Model Views – Key Challenges (2/2)

● Modifiabilityo Changeables views

● Synchronizationo View ↔ Model(s)

● Scalabilityo View creation/handling, memory vs. CPU

Page 9: ER 2015 EMFViews

EMF Views – Proposition/Contribution

Model view approach for easier heterogenous models integration

Virtualization framework for viewpoints/views

SQL-like ViewPoint Definition Language (a.k.a. VPDL)

Page 10: ER 2015 EMFViews

EMF Views – Conceptual Approach

View Builder(Virtualization)

Viewpoint Builder(Virtualization)

Mode l c Model b

Metamodel C

Runtime

Design time1

2

Viewpoint (virtual

metamodel)

View(virtual model)

Metamodel BMetamodel A

Model a

Conforms to

Conforms to

Weaving model

VPDL fileDesigner

Weaving model

User

Page 11: ER 2015 EMFViews

EMF Views – @ Design Time

m2t

Viewpoint Builder

(Virtualization)

Weaving model

Viewpoint file

VPDL file

Designer

Matching file

Refers to

Metamodel CMetamodel B

Metamodel A

m2t

m2m

Page 12: ER 2015 EMFViews

EMF Views – @ Runtime

View Builder

(Virtualization)

Weaving model

User

View file

generation

Viewpoint file(+ matching file)

Refers to

Model c Model b

Model a

matching

Page 13: ER 2015 EMFViews

EMF Views – ViewPoint Definition Language (1/2)

Operator Description

CREATE VIEW Name, contributing metamodels

SELECT Attributes/relations to be shown (or * for all)

FROM (JOIN) Linked concepts, name of new relations

WHERE (OCL) constraints for filters, connections, etc.

Page 14: ER 2015 EMFViews

EMF Views – ViewPoint Definition Language (2/2)

● Simple viewpoint definition TOGAF/BPMN/ReqIf integration...

Page 15: ER 2015 EMFViews

EMF Views – Eclipse-based tooling

● Short demonstration...

Page 16: ER 2015 EMFViews

Conclusion & Future Work

● Model view approacho Architecture + DSLo EMF-based solution

● What’s next?o VPDL v1.x or v2.0...o View update problem...o Persistence…o Validation…

Page 17: ER 2015 EMFViews

Questions? Comments?

● http://atlanmod.github.io/emfviews

● Contact persons:o Hugo Bruneliere - [email protected] o Jokin Garcia (impl.) - [email protected]