12
Towards a Comparative Analysis of Meta-Metamodels Heiko Kern , Axel Hummel, and Stefan Kühne University of Leipzig 11th Domain-Specific Modeling Workshop October 23, 2011, Portland, Oregon

Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Towards a Comparative Analysis of Meta-Metamodels

Heiko Kern, Axel Hummel, and Stefan Kühne

University of Leipzig

11th Domain-Specific Modeling Workshop

October 23, 2011, Portland, Oregon

Page 2: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Motivation

11th Domain-Specific Modeling Workshop 20112

Page 3: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Design of the Comparison

11th Domain-Specific Modeling Workshop 20113

� Objectives of the study

�What are typical concepts in meta-modeling languages?

�What are the properties of these meta-modeling concepts?

� Selection of meta-metamodels

�Meta-modeling approach� Heavyweight

� 3-Level model hierarchy

�Concrete syntax: graphical syntax with textual annotation

�Available as tool

for (i=0; i<10; i++) {doSomething();

}

Model

Meta-model

Meta-metamodel

Language

Meta-language

Page 4: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Meta-Metamodels under Study

11th Domain-Specific Modeling Workshop 20114

Paradigm

Atom

Connection

FCO

Model

ReferenceSet

*

models

*

fco

Connection Role

1..*

member

*

*

refer

Attribute*

attributes

sub

**

inheritance

NamedDomainElement

DomainRoleDomainClass

DomainProperty

DomainRelationship

*property

1*

superclass

1 *

rolesPlayed

rolePlayer

1

source

1

target

Language

*

1

Page 5: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Some Modeling Concepts by Example

11th Domain-Specific Modeling Workshop 20115

Object

OUTOUTININOUTOUTININ

RelationRole RolePort Port

Model

Object AObject A Object BObject B

Attribute value

Page 6: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

First Class Metamodeling Concepts

� All meta-metamodels support object type, relation type, and attribute

� |Concepts|: GOPPRR = GME > MS DSL Tools > ARIS > Ecore = MS Visio

11th Domain-Specific Modeling Workshop 20116

ARIS Ecore GOPPRR GME MSDSL Tools

MS Visio

Object typeObjDefType, ObjOccType

EClass Object typeAtom, Model,

SetDomain Class Master

Relation type

CxnDefType, CxnOccType

EReferenceRelation

type, Collection

Connection, Set,

Reference

Domain Relationship

Master

Role type - - Role typeConnection

RoleDomain Role -

Port type - - Port typeReference

Port- -

Attribute Attribute EAttribute Property AttributeDomain Property

Property

Model type Model type - Graph type Model - -

Page 7: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Relationship Type

11th Domain-Specific Modeling Workshop 20117

ARIS Ecore GOPPRR GME MSDSL Tools

MS Visio

Arity Binary Binary N-ary Binary Binary Binary

Multiplicity Default (0..n)

Yes Yes Yes YesDefault (0..n)

Object-Set Yes No Yes No No No

Inverse No Yes No No No No

Composition No Yes No Yes Yes No

Relationship Dependency Method EClass Project Paradigm Domain Class Stencil

Role Dependency

- - Project ConnectionDomain

Relationship-

Page 8: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Relationship Type

� Reference-Relation

� Object-Relation

� Role-Relation

� Set-Relation

� GOPPRR > GME > MS DSL Tools > ARIS > Ecore > MS Visio

11th Domain-Specific Modeling Workshop 20118

Binary

N-ary

Page 9: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Attribute

11th Domain-Specific Modeling Workshop 20119

ARIS Ecore GOPPRR GMEMS

DSL ToolsMS Visio

MultiplicitySingle-value

Multi-value

Multi-value Single-value

Single-valueMulti-value

Unique - Yes Yes - - No

Ordered - Yes No - - Yes

Default value No Yes Yes Yes Yes Yes

Dependency Method EClass Project Paradigm

Domain Class,

Domain Relationship

Master

Attributable object Yes Yes Yes Yes Yes Yes

Attributable relationship

Yes No Yes Yes Yes Yes

Attributable role - - Yes No No No

Attributable port - - Yes No No No

Attributable model Yes - Yes Yes - -

Simple datatype Yes Yes Yes Yes Yes Yes

Metamodel element datatype No No Yes No No No

Page 10: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Other

11th Domain-Specific Modeling Workshop 201110

ARIS Ecore GOPPRR GMEMS

DSL ToolsMS Visio

Inheritance No Multiple Single Multiple Single No

Object - Yes Yes Yes Yes -

Relationship - No Yes Yes No -

Role - - Yes No No -

Port - - Yes No - -

Model - - Yes Yes - -

Links to sub model types Yes - Yes Yes - -

GroupingMethod, Model

EPackageProject, Graph

Folder, Paradigm

Language, Namespace

Stencil

Constraint language

No OCL proprietary OCL dialectProgramming

languageNo

Page 11: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Conclusion and Future Work

� Comparison of six meta-metamodels� Definition of comparison criteria� ARIS, Ecore, GOPPRR, GME, MS DSL Tool, MS Visio

� Some observations� Object type, relation type, and attribute are core concepts� There are different realizations of relation type� No extraordinary concepts such as clabjects

� Some (unproved) statements� GOPPRR and GME has a great practical expressiveness� Visio has a limited practical expressiveness

� Future Work� Improvement of the comparison

� Comparison criteria� More meta-metamodels

− Modeling space: MOFv1.4, KM3, ADONIS− Other spaces: XML Schema, OWL, Grammarware

� Model interoperability� Transformation between meta-modeling concepts

11th Domain-Specific Modeling Workshop 201111

Page 12: Towards a Comparative Analysis of Meta-Metamodels - DSM … · 2016-05-13 · Improvement of the comparison Comparison criteria More meta-metamodels −Modeling space: MOFv1.4, KM3,

Quellen

Essen, 25.05.201112

Thank you for your attention.