the i nterchange of the i nterchange of meta models betw
play

The I nterchange of The I nterchange of ( Meta) Models betw een - PowerPoint PPT Presentation

Department of Computer Science Business Information Systems The I nterchange of The I nterchange of ( Meta) Models betw een MetaEdit+ and Eclipse EMF and Eclipse EMF Heiko Kern ke n@info matik kern@informatik.uni-leipzig.de ni leip ig de


  1. Department of Computer Science Business Information Systems The I nterchange of The I nterchange of ( Meta) Models betw een MetaEdit+ and Eclipse EMF and Eclipse EMF Heiko Kern ke n@info matik kern@informatik.uni-leipzig.de ni leip ig de Nashville, Tennessee, 10/ 19/ 2008 1

  2. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Agenda Business Information Systems 1. Introduction 2 MetaEdit-EMF-Bridge 2. MetaEdit EMF Bridge 3. Demonstration 4 Summarize 4. Summarize The 8th OOPSLA Workshop on Domain-Specific Modeling 2

  3. Model Interchange Between MetaEdit+ and EMF Department of Computer Science MetaEdit+ Business Information Systems • Tool for Domain-Specific M d li Modeling • Definition of DSLs and modeling • Different views (diagram, table, matrix) • Code generator C d t • Extensive model repository p y • Commercial product, MetaCase The 8th OOPSLA Workshop on Domain-Specific Modeling 3

  4. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Eclipse EMF Business Information Systems Ecore XML Java UML XMI Schema • Java framework for b ildi building (Eclipse) (E li ) applications based on models • Many tools can operate on EMF metamodels and models: ATL oAW models: ATL, oAW, Epsilon, EMFT • Tool infrastructure for Model-Driven Engineering M d l D i E i i • Similar to the Meta Object Facility (MOF) y ( ) • Open source The 8th OOPSLA Workshop on Domain-Specific Modeling 4

  5. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Motivation Business Information Systems MetaEdit-EMF-Bridge • Combines the advantages of both tool spaces  MetaEdit is suitable for DSM MetaEdit is suitable for DSM  Eclipse EMF is suitable for model processing • MetaEdit models can be processed by EMF tools and p y vice versa • Tool chains and re-use of (meta)models, model operations ti The 8th OOPSLA Workshop on Domain-Specific Modeling 5

  6. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Conceptual Approach Business Information Systems Mapping M3 MMM MMM‘ conform to conform to M2 Transform ation MM 1 MM 2 MM‘ 1 MM‘ 2 conform to conform to M1 Transform ation M 1 M 2 M 3 M 4 M‘ 1 M‘ 2 M‘ 3 M‘ 4 1 2 3 4 1 2 3 4 The 8th OOPSLA Workshop on Domain-Specific Modeling 6

  7. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Bridge Overview Business Information Systems MetaEdit Eclipse EMF M3-level GOPRR GOPRR E Ecore mapping determinates determinates MetaEdit EObject repository repository conforms to f t based b d M3 conforms to on M2 Metamodel GOPRR M2-level Metamodel transformation generalization instance of instance of Metamodel based conforms to on M1 conforms to M1-level Model Model transformation transformation The 8th OOPSLA Workshop on Domain-Specific Modeling 7

  8. Model Interchange Between MetaEdit+ and EMF Department of Computer Science MetaEdit: GOPRR Business Information Systems Concept typeName * Property Property * * NonProperty dataType propertyCollection * Object Role Relationship relationSet objectSet objectSet role role * 1 1 roleSet roleSet 1 1 relationship relationship * * * * * * Connection Graph * * * * 1 1 * objectSet bj S * Binding bindingSet connectionCollection 1 The 8th OOPSLA Workshop on Domain-Specific Modeling 8

  9. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Eclipse EMF: Ecore Business Information Systems ENamedElement ENamedElement eType ETypedElement ETypedElement EClassifier EClassifier eSuperTypes eReferenceType R f T EStructuralFeature EClass eStructuralFeatures EDataType EReference eAttributeType EAttribute The 8th OOPSLA Workshop on Domain-Specific Modeling 9

  10. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Mapping Rules Business Information Systems MetaEdit Eclipse EMF M3 relationSet Activates: EClass M2 EPC:EClass Event: EClass objectSet Function: EClass objectSet relationSet M1 a:Activates epc:EPC e:Event objectSet f:Function objectSet The 8th OOPSLA Workshop on Domain-Specific Modeling 10

  11. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Application exam ple Business Information Systems MetaEdit-EMF- Metam odel- MetaEdit Transform ation EMF-MetaEdit language m etam odel d fi iti definition oAW Validation conform to conform to MetaEdit-EMF- Model- MetaEdit EMF-MetaEdit Transform ation m odel m odel The 8th OOPSLA Workshop on Domain-Specific Modeling 11

  12. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Sum m ary Business Information Systems • Development of a M3-level based bridge between MetaEdit and Eclipse EMF  Analysis of the both metametamodel  Mapping between metametamodels  Transformation at M2-level and M1-level  Applications of the bridge • Open issues  Formalization of the approach and the M3-level F li ti f th h d th M3 l l mapping rules  Uses cases: Is the approach really practicable in Uses cases: Is the approach really practicable in real world?  Synchronization The 8th OOPSLA Workshop on Domain-Specific Modeling 12

  13. Model Interchange Between MetaEdit+ and EMF Department of Computer Science Business Information Systems Thank o ! Q estions? Thank you! Questions? The 8th OOPSLA Workshop on Domain-Specific Modeling 13

Recommend


More recommend