Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
On Lightweight
Metamodel Extens...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Introduction
● MDE in the indus...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
MoNoGe Project (French FUI #15)...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Industrial Motivation
● Minimiz...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Proposition/Contribution
● A ge...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Terminolo...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Character...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Character...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Base Oper...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Base Oper...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Proposed ...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Proposed ...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Proposed ...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Eclipse s...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Eclipse s...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Modelio s...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Related W...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Metamodel Extension - Related W...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Conclusion
● Lightweight metamo...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Future Work
● DSL for metamodel...
© AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr)
Thanks for your attention!
● Qu...
Prochain SlideShare
Chargement dans…5
×

On Lightweight Metamodel Extension to Support Modeling Tools Agility - ECMFA 2015 @L'Aquila, Italy

599 vues

Publié le

Full paper is available from https://hal.inria.fr/hal-01146802
Presentation associated to the paper presented at ECMFA 2015 (STAF'15).

Publié dans : Logiciels
  • Soyez le premier à commenter

On Lightweight Metamodel Extension to Support Modeling Tools Agility - ECMFA 2015 @L'Aquila, Italy

  1. 1. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) On Lightweight Metamodel Extension to Support Modeling Tools Agility Hugo Bruneliere, Jokin Garcia, Philippe Desfray, Djamel Eddine Khelladi, Regina Hebig, Reda Bendraou and Jordi Cabot ECMFA 2015 @ L’Aquila, Italy Wednesday 22nd of July 2015
  2. 2. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Introduction ● MDE in the industry o Various context, various purposes... ● Need for adaptation of model-based environments/tools o Traceability, coherence, interoperability, etc. ● Evolving and/or adding (new) metamodels o Cf. OMG MOF Extension Facility (MEF) RFP... ● More agility is required!
  3. 3. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) MoNoGe Project (French FUI #15) ● “ “New generation modeling tool” ● Partners: o Industrial - Softeam (leader), DCNS, Sodifrance o Academic - LIP6, ARMINES/Mines Nantes ● Duration: 30 months ● Total budget: 3,57M€
  4. 4. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Industrial Motivation ● Minimizing cost/effort when evolving modeling tools o Metamodels are core artifacts (cf. related parsers, editors, generators, etc.) ● Example of the Modelio environment o Implementations of UML, BPMN, SysML, etc. o Parts reused and/or extended for domain-specific modeling (e.g. System, EA, Requirement) ● Need for more agile metamodel extension
  5. 5. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Proposition/Contribution ● A generic lightweight metamodel extension approach for rapid and efficient adaptations of modeling tools o Base list of metamodel extension operators o Corresponding generic (textual) DSL o Architecture for an EMF-based implementation o DSL-compliant solution relying on Modelio
  6. 6. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Terminology
  7. 7. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Characteristics (1/2) ● Genericity o From any metamodel, modeling tool, framework or environment ● Non-intrusiveness o No modification of original (meta)models ● Persistence & Interoperability o Notably of metamodel extension (cf. our DSL)
  8. 8. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Characteristics (2/2) ● Compatibility/conformance preserving ● Transparency o From both tool and user perspectives ● Dynamicity & synchronization o E.g. at extension application/removal ● Runtime computation o Notably at model-level
  9. 9. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Base Operators (1/2) ● ADD (a new concept) o Create “from scratch” o Specialize (subtype) a concept o Generalize (supertype) concept(s) ● FILTER (an existing concept)
  10. 10. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Base Operators (2/2) ● MODIFY (an existing concept) o Add property to an existing concept o Filter property from an existing concept o Modify property (Filter + Add) o Add constraint to concept/property o Filter constraint from concept/property
  11. 11. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Proposed DSL (1/3) Operator Textual Syntax ADD - “From scratch” add class X ADD - Specializing add class Y specializing uml.A ADD - Generalization add class Z generalizing uml.B, uml.C FILTER filter class uml.D MODIFY (cf. next sub- operators) modify class uml.A { … }
  12. 12. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Proposed DSL (2/3) Operator Textual Syntax MODIFY - Add prop. add property propertyA type String MODIFY - Filter prop. filter property propertyB MODIFY - Modify prop. modify property propC attribute = "name", value = "propCbis" MODIFY - Add constr. add constraint consA “val” MODIFY - Filter constr. filter constraint consB
  13. 13. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Proposed DSL (3/3) ● Example of a simple DODAF extension
  14. 14. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Eclipse support ● https://github.com/atlanmod/monoge
  15. 15. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Eclipse support ● Short demonstration...
  16. 16. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Modelio support ● https://www.modelio.org/downloads/download-modelio.html
  17. 17. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Related Work (1/2) ● Metamodel Evolution approaches o Main effort on migrating related artifacts (more or less automated) o Original metamodels usually abandoned o Our solution: metamodel versions can coexist ● (UML) Profile or annotation mechanisms o Mostly limited to adding extra (meta)data o Our solution: more possible extension operations
  18. 18. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Metamodel Extension - Related Work (2/2) ● Model Composition techniques o Creation of a single model by merging elements coming from several ones o Main issues on synchronization and scalability o Our solution: “new” & “old” models are the same ● Runtime-oriented solutions (e.g. EMF Facet) o (Meta)model extension via derived information o Our solution: new “materialized” data can be supported
  19. 19. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Conclusion ● Lightweight metamodel extension mechanism based on a textual DSL ● Two alternative but DSL-compliant implementations o Eclipse/EMF-based architecture o Modelio solution ● Quite promising results so far (according to our MoNoGe partners)
  20. 20. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Future Work ● DSL for metamodel extension o Polish current textual syntax + tooling o Study other possible syntax(es) - e.g. graphical ● Validation of extension application o E.g. coherence/consistency at model-level ● More complex extension algebra o Combination/composition of base operators...
  21. 21. © AtlanMod (atlanmod-contact@mines-nantes.fr)© AtlanMod (atlanmod-contact@mines-nantes.fr) Thanks for your attention! ● Questions? Comments? ● Contact persons: o Hugo Bruneliere - hugo.bruneliere@inria.fr o Jokin Garcia - jokin.garcia-perez@inria.fr

×