Weaving models
Upcoming SlideShare
Loading in...5

Weaving models



Advanced Software Engineering course - Guest Lecture ...

Advanced Software Engineering course - Guest Lecture

Weaving Models

This presentation has been developed in the context of the Advanced Software Engineering course at the DISIM Department of the University of L’Aquila (Italy).




Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Weaving models Weaving models Presentation Transcript

  • Università degli Studi dell’AquilaWeaving Models Ivano Malavolta DISIM Department, University of L’Aquila ivano.malavolta@univaq.it
  • The material in these slides may be freely reproducedand distributed, partially or totally, as far as an explicitreference or acknowledge to the material author ispreserved. Ivano Malavolta
  • MDE PrimerModel Weaving Why Linking Models together? Model Weaving & Weaving Models The AMW Project The AMW User Interface The AMW Core Metamodel Extending AMW Examples
  • GOALS to abstract upon selected aspects of the system to assess specific properties of the system early in the life cycle http://mdse-book.com
  • http://mdse-book.com
  • http://mdse-book.com
  • the metamodels for metamodelsdefines the first-class entities, relationships andconstraints of a modeling languagea reduced representation of the systemmodels should have a focus in order to be usefulthe “real thing” ...example
  • The means to specify the way to produce target models from anumber of source models Can be either horizontal or vertical
  • Why Linking Models together?Model Weaving & Weaving ModelsThe AMW Project The AMW User Interface The AMW Core Metamodel Extending AMWExamples
  • A system can be represented by “n” modelsEach model focusses on a specific aspect
  • It is often necessary to establish links between elements ofdifferent modelsTool interoperabilityTransformation specificationLinking entities across modelsTraceabilityModel mergingModel annotation
  • Model weaving is a generic operation that establishes fine- grained correspondences between model elements* Each correspondence defines associations between elements from different models According to the everything-is-a-model principle in MDE: models = models, metamodels, transformations, weaving models, etc.* FABRO, M. D. D., BZIVIN, J., JOUAULT, F., AND VALDURIEZ, P. Applying genericmodel management to data mapping. In Proceedings of the Journes Bases de DonnesAvances (BDA05) (2005).
  • Weaving models are special kinds of models that link togetherother modelsIn general a weaving model contains a set of links between elementsof a model and elements of another modelLinked models are called woven models
  • Weaving models conform to a weaving metamodelA weaving metamodel specifies the types of links that can beestablished between woven models
  • The operation of automatically creating a weaving modelIf we consider two woven models, the matching operation canbe seen as a function match : mm1 X mm2  WMMExamples of matching policies:• name similarity (eg. via edit distance)• structural similarity
  • AMW, the Atlas Model Weaver*, is a platform that manages weaving models AMW is part of the AMMA** platform, and it is being developed by the ATLAS group, INRIA It provides: • an EMF-based implementation of weaving model • an extensible GUI to create & manage weaving models • a core weaving metamodel* DIDONET DEL FABRO M., B´E ZIVIN J., JOUAULT F. AND BRETON E. ANDGUELTAS G. AMW: a generic model weaver. In Proc. of 1re Journe sur l’IngnierieDirige par les Modles, Paris, France. pp 105-114 (2005).** http://wiki.eclipse.org/index.php/AMMA
  • Weaving Tools Woven Woven model modelProjects Weaving Model Weaving properties
  • The core weaving metamodel enables to create links betweenmodel elementsIt can be extended to add other mapping semantics there is the possibility of creating variable mapping languagesdedicated to specific application requirements
  • Every element in a WM has a name & description The root element Weaving Links of a WM (can be nested) Identify thewoven models The type of elements that are linked Contain the identifiers of the woven elements
  • Weaving metamodel extensions must either:• extend the core WMM• extend other weaving extensionsWMM extensions can be arranged hierarchicallyThe following classes of the core metamodel can be extended:WmodelWModelRefWElementRefWlinkWLinkEndWElementRef
  • http://www.eclipse.org/gmt/amw/usecases/
  • Demo