1 / 16

GME-MOF: The MOF-Based GME Metamodeling Environment

OOPSLA 2004 Domain-Specific Modeling Workshop. GME-MOF: The MOF-Based GME Metamodeling Environment. Matt Emerson 10/24/2004 <mjemerson@isis.vanderbilt.edu>. Advisor: Dr. Janos Sztipanovits. Motivation. The core of MIC is the development of DSMLs.

luisa
Download Presentation

GME-MOF: The MOF-Based GME Metamodeling Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OOPSLA 2004 Domain-Specific Modeling Workshop GME-MOF: The MOF-Based GME Metamodeling Environment Matt Emerson 10/24/2004 <mjemerson@isis.vanderbilt.edu> Advisor: Dr. Janos Sztipanovits

  2. Motivation • The core of MIC is the development of DSMLs. • GME provides MetaGME, a metamodeling language for DSLM specification. • The OMG has adopted MOF as the standard metamodeling language • What is the technical merit of the MOF standard vs. MetaGME? • How can GME adapt to meet this standardwith minimum pain? OOPSLA 2004 Matt Emerson 2

  3. Outline • Overview of GME and MetaGME • Overview of MOF • GME-MOF: The MOF-based GME metamodeling environment OOPSLA 2004 Matt Emerson 3

  4. GME • Meta-programmable modeling tool • Platform for the development of many model-based embedded systems tools • Includes a metamodeling language which predates MOF:MetaGME OOPSLA 2004 Matt Emerson 4

  5. GME Modeling Hierarchy OOPSLA 2004 Matt Emerson 5

  6. MetaGME • Based on UML Class Diagrams and OCL • Class Stereotypes imply the abstract syntax of elements in the metamodel: • : Compositional containers • : Primitive objects • : Pointers to model objects • : Aggregate containers • : Analogous to UML Association Classes • : Logical visual partitions of a system OOPSLA 2004 Matt Emerson 6

  7. MOF • OMG Standard metamodeling language • Simplification of UML Class Diagrams • Used as definition language for many OMG specifications: • UML • CWM • OCL • XMI • One use case is the specification of DSMLs OOPSLA 2004 Matt Emerson 7

  8. GME-MOF: Design Forces • Tight correspondence between MetaGME stereotypes and GME configuration file entities • Existing tools support, including: • Constraint Checker • Metamodel Interpreter • Existing user base and modeling languages • Kinship of MOF and MetaGME • Both based on UML Class Diagrams OOPSLA 2004 Matt Emerson 8

  9. GME-MOF OOPSLA 2004 Matt Emerson 9

  10. GME-MOF • Leverages existing metamodeling language • Leverages existing metamodel translation tool • MOF provides an MDA-style interface for GME Metamodeling OOPSLA 2004 Matt Emerson 10

  11. MOF-to-MetaGME Translation • Model-to-model translation • Design using the Graph Rewriting and Transformation Language (GReAT) • Guided by MOF Tags • Not isomorphic OOPSLA 2004 Matt Emerson 11

  12. Specifying the Translation Mapping MOF Primitive-type Attributes to MetaGME FieldAttributes • Match the pattern visualized in black. • Create the pattern visualized in blue. OOPSLA 2004 Matt Emerson 12

  13. Translation Limitations • How to meaningfully represent in GME: • Singleton Classes • Derived Attributes • Derived Associations • Attributes of arbitrary types • MOF-style metamodel importation OOPSLA 2004 Matt Emerson 13

  14. Translation Example: UML Class Diagrams Input (MOF) Output (MetaGME) OOPSLA 2004 Matt Emerson 14

  15. GME-MOF: An MDA Interface for GME • Leverages existing metamodeling language • Leverages existing metamodel translation tool • MOF provides an MDA-style interface for GME Metamodeling • Solution illustrates the versatility of metamodeling and meta-programmable tools OOPSLA 2004 Matt Emerson 15

  16. OOPSLA 2004 Domain-Specific Modeling Workshop GME-MOF: The MOF-Based GME Metamodeling Environment Matt Emerson 10/24/2004 <mjemerson@isis.vanderbilt.edu> Advisor: Dr. Janos Sztipanovits

More Related