a comparison of ecore and gopprr through an information ...a comparison of ecore and gopprr through...

22
A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of Novi Sad Milan Čeliković, University of Novi Sad Vladimir Ivančević, University of Novi Sad Ivan Luković, University of Novi Sad First Workshop on Graphical Modeling Language Development

Upload: others

Post on 24-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

A Comparison of Ecore and

GOPPRR through an Information

System Meta Modeling Approach

Vladimir Dimitrieski, University of Novi Sad

Milan Čeliković, University of Novi Sad

Vladimir Ivančević, University of Novi Sad

Ivan Luković, University of Novi Sad

First Workshop on Graphical Modeling Language Development

Page 2: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Agenda

• Motives and Goals

• Modeling concepts comparison

• Ease of use

• Further research

• Conclusion

GMLD 2012/Vladimir Dimitrieski 2/22

Page 3: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Motives and Goals

• Integrated Information Systems CASE Tool (IIS*Case)

– Model driven software tool that provides generation of executable application prototypes

– Provides the generation of database schemas and fully operational application prototypes

– We have created a number of modeling, meta-level concepts and formal rules that are used in the design process

• in order to provide design of various platform independent models (PIM) by IIS*Case

GMLD 2012/Vladimir Dimitrieski 3/22

Page 4: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Motives and Goals

• Current research

– IIS*CDesLang

• textual DSL

• developed using attribute grammars

• formalization of PIM concepts

– modeling in a formal way

• formal correctness and semantical analysis of

models

GMLD 2012/Vladimir Dimitrieski 4/22

Page 5: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Motives and Goals

• Current research

– MOF approach

• Ecore

– Eclipse’s implementation of MOF

• specification of PIM concepts

• developing textual DSL

– MetaEdit+ approach

• GOPPRR

• specification of PIM concepts

• developing graphical DSL

GMLD 2012/Vladimir Dimitrieski 5/22

Page 6: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Motives and Goals

• Main research goals

– Comparison of Ecore and GOPPRR

• concepts used

• ease of use

– Basis for the better understanding of the meta-

languages

• further development of textual and graphical DSLs

GMLD 2012/Vladimir Dimitrieski 6/22

Page 7: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Agenda

• Motives and Goals

• Modeling concepts comparison

• Ease of use

• Further research

• Conclusion

GMLD 2012/Vladimir Dimitrieski 7/22

Page 8: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Modeling concepts comparison

GMLD 2012/Vladimir Dimitrieski 8/22

Concept Ecore GOPPRR

Main

co

nc

ep

ts

Class EClass Object

Relationship EReference Relationship

Role - Role

Port - Port

Grouping EPackage Graph

Atrribute EAttribute Property

Page 9: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Modeling concepts comparison

GMLD 2012/Vladimir Dimitrieski 9/22

Concept Ecore GOPPRR

Re

lati

on

sh

ip c

on

ce

pts

Arity binary n-ary

Cardinality (lower, upper)

-

(may be specified in a

role)

Dependency EClass Project

Attributes no yes

Inheritance multiple single

Inheritable EClass Object, Relationship,

Role, Port, Graph

Page 10: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Modeling concepts comparison

GMLD 2012/Vladimir Dimitrieski 10/22

Concept Ecore GOPPRR

Att

rib

ute

co

nc

ep

ts

Concept as an

attribute EClass

Object, Relationship,

Role, Port, Graph

Cardinality (lower, upper) -

Value pattern no yes

Dependency EClass Project

Page 11: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Agenda

• Motives and Goals

• Modeling concepts comparison

• Ease of use

• Further research

• Conclusion

GMLD 2012/Vladimir Dimitrieski 11/22

Page 12: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Ease of use

GMLD 2012/Vladimir Dimitrieski 12/22

Page 13: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Ease of use

GMLD 2012/Vladimir Dimitrieski 13/22

Page 14: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Ease of use

• Restricting meta-concept’s number of

instances in a model

– GOPPRR allows the definition of object’s possible

instances number

• {0}, {1} and {N}

– Ecore does not have this option

• possible solution – use of OCL

GMLD 2012/Vladimir Dimitrieski 14/22

Page 15: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Ease of use

• Mandatory properties

– GOPPRR has regular expressions

• powerful mechanism

– value patterns

• experienced users

• „.+“ for mandatory property

– Ecore has cardinalities

• easy specification of mandatory properties

• has an upper bound

GMLD 2012/Vladimir Dimitrieski 15/22

Page 16: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Ease of use

• Relationship attributes

– One of the main advantages of GOPPRR

– Referenced form type modeled in both meta-

languages

• CallFT vs several EClasses

GMLD 2012/Vladimir Dimitrieski 16/22

Page 17: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Ease of use

GMLD 2012/Vladimir Dimitrieski 17/22

Page 18: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Agenda

• Motives and Goals

• Modeling concepts comparison

• Ease of use

• Further research

• Conclusion

GMLD 2012/Vladimir Dimitrieski 18/22

Page 19: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Further research

• Some ideas/goals

– Code generator

• import the code into IIS*Case

– Mapping between the meta-models using

GOPPRR and Ecore specification

• development of our own bridge

• using EMF-MetaEdit+-Bridge

• transformations between models in EMF

– Epsilon or Xpand

– Textual and visual editors

• over the same IIS*Case repository GMLD 2012/Vladimir Dimitrieski 19/22

Page 20: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Agenda

• Motives and Goals

• Modeling concepts comparison

• Ease of use

• Further research

• Conclusion

GMLD 2012/Vladimir Dimitrieski 20/22

Page 21: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

Conclusion

• Ecore

– EMF only for abstract syntax development

– De facto standard

– XMI

• GOPPRR

– MetaEdit+ environment for graphical DSL

creation

– More expressive power

– Easily extensible graphical representation

GMLD 2012/Vladimir Dimitrieski 21/22

Page 22: A Comparison of Ecore and GOPPRR through an Information ...A Comparison of Ecore and GOPPRR through an Information System Meta Modeling Approach Vladimir Dimitrieski, University of

A Comparison of Ecore and

GOPPRR through an Information

System Meta Modeling Approach

Vladimir Dimitrieski, University of Novi Sad

Milan Čeliković, University of Novi Sad

Vladimir Ivančević, University of Novi Sad

Ivan Luković, University of Novi Sad

First Workshop on Graphical Modeling Language Development