Skip to main content

Contracts for Model Execution Verification

  • Conference paper
Modelling Foundations and Applications (ECMFA 2011)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 6698))

Included in the following conference series:

Abstract

One of the main goals of model-driven engineering is the manipulation of models as exclusive software artifacts. Model execution is in particular a means to substitute models for code. We focus in this paper on verifying model executions. We use a contract-based approach to specify an execution semantics for a meta-model. We show that an execution semantics is a seamless extension of a rigorous meta-model specification and is composed of complementary levels, from static element definition to dynamic elements, execution specifications as well. We use model transformation contracts for controlling the dynamic consistent evolution of a model during its execution. As an illustration, we apply our approach to UML state machines using OCL as the contract expression language.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Ballagny, C., Hameurlain, N., Barbier, F.: MOCAS: A State-Based Component Model for Self-Adaptation. In: Third IEEE International Conference on Self-Adaptive and Self-Organizing Systems (SASO 2009). IEEE Computer Society, Los Alamitos (2009)

    Google Scholar 

  2. Beugnard, A., Jézéquel, J.-M., Plouzeau, N., Watkins, D.: Making Components Contract Aware. IEEE Computer 32(7) (1999)

    Google Scholar 

  3. Bézivin, J., Jouault, F.: Using ATL for Checking Models. In: Intl. Workshop on Graph and Model Transformation (GraMoT 2005). ENTCS, vol. 152 (2005)

    Google Scholar 

  4. Boronat, A., Heckel, R., Meseguer, J.: Rewriting Logic Semantics and Verification of Model Transformations. In: Chechik, M., Wirsing, M. (eds.) FASE 2009. LNCS, vol. 5503, pp. 18–33. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  5. Cariou, E., Belloir, N., Barbier, F., Djemam, N.: OCL Contracts for the Verification of Model Transformations. In: Proceedings of the Workshop The Pragmatics of OCL and Other Textual Specification Languages at MoDELS 2009. Electronic Communications of the EASST, vol. 24 (2009)

    Google Scholar 

  6. Chen, K., Sztipanovits, J., Abdelwalhed, S., Jackson, E.: Semantic anchoring with model transformations. In: Hartman, A., Kreische, D. (eds.) ECMDA-FA 2005. LNCS, vol. 3748, pp. 115–129. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  7. Combemale, B., Crégut, X., Garoche, P.-L., Xavier, T.: Essay on Semantics Definition in MDE – An Instrumented Approach for Model Verification. Journal of Software 4(9) (2009)

    Google Scholar 

  8. Crane, M.L., Dingel, J.: UML vs. Classical vs. Rhapsody Statecharts: not all Models are created Equal. Software and Systems Modeling 6(4) (2007)

    Google Scholar 

  9. Engels, G., Hausmann, J.H., Heckel, R., Sauer, S.: Meta-Modeling: A Graphical Approach to the Operational Semantics of Behavioral Diagrams in UML. In: Evans, A., Caskurlu, B., Selic, B. (eds.) UML 2000. LNCS, vol. 1939, pp. 323–337. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  10. France, R.B., Ghosh, S., Dinh-Trong, T., Solberg, A.: Model-Driven Development Using UML 2.0: Promises and Pitfalls. IEEE Computer 39(2) (2006)

    Google Scholar 

  11. Hausmann, J.H.: Dynamic Meta Modeling: A Semantics Description Technique for Visual Modeling Languages. PhD thesis, University of Paderborn (2005)

    Google Scholar 

  12. Le Traon, Y., Baudry, B., Jézéquel, J.-M.: Design by Contract to improve Software Vigilance. IEEE Transaction on Software Engineering 32(8) (2006)

    Google Scholar 

  13. Meyer, B.: Applying “Design by Contract”. IEEE Computer (Special Issue on Inheritance & Classification) 25(10), 40–52 (1992)

    Google Scholar 

  14. Mottu, J.-M., Baudry, B., Le Traon, Y.: Reusable MDA Components: A Testing-for-Trust Approach. In: Wang, J., Whittle, J., Harel, D., Reggio, G. (eds.) MoDELS 2006. LNCS, vol. 4199, pp. 589–603. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  15. OMG. Object Constraint Language (OCL) Specification, version 2.0 (2006), http://www.omg.org/spec/OCL/2.0/

  16. OMG. Unified Modeling Language (UML) Specification, version 2.2 (2009), http://www.omg.org/spec/UML/2.2/

  17. OMG. Semantics of a Foundational Subset for Executable UML Models (fUML), version 1.0 (2011), http://www.omg.org/spec/FUML/1.0/

  18. Pons, C., Baum, G.: Formal Foundations of Object-Oriented Modeling Notations. In: 3rd International Conference on Formal Engineering Methods (ICFEM 2000). IEEE, Los Alamitos (2000)

    Google Scholar 

  19. Wimmer, M., Kappel, G., Kusel, A., Retschitzegger, W., Schoenboeck, J., Schwinger, W.: Right or Wrong? – Verification of Model Transformations using Colored Petri Nets. In: 9th OOPSLA Workshop on Domain-Specific Modeling (DSM 2009) (2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cariou, E., Ballagny, C., Feugas, A., Barbier, F. (2011). Contracts for Model Execution Verification. In: France, R.B., Kuester, J.M., Bordbar, B., Paige, R.F. (eds) Modelling Foundations and Applications. ECMFA 2011. Lecture Notes in Computer Science, vol 6698. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-21470-7_2

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-21470-7_2

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-21469-1

  • Online ISBN: 978-3-642-21470-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics