Skip to main content

An UML Model Query Method Based on Structure Pattern Matching

  • Conference paper
Trustworthy Computing and Services (ISCTCS 2012)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 320))

Included in the following conference series:

  • 3162 Accesses

Abstract

UML has been widely used for modeling, and models are becoming increasingly important in the software development process. As a consequence, the number of models being used is increasing. Comprehending and reusing models face a real challenge. So, it is necessary to get efficient methods to query models. In this paper, we propose an UML model query method which is based on structure pattern matching. This paper will show how to extract the structure information of UML model from the textual model file. Then, a model query language and the matching algorithm will be detailed described. After that a case study is presented, which proves the effectiveness of our query method.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. Akehurst, D.H., Bordbar, B.: On Querying UML Data Models with OCL. The Unified Modeling Language - UML, 91–103 (2001)

    Google Scholar 

  2. Lucrédio, D., de M. Fortes, R.P., Whittle, J.: MOOGLE: a metamodel-based model search engine. Software and System Modeling - SOSYM 9(3), 1–26 (2010)

    Google Scholar 

  3. Habela, P., Kaczmarski, K., Stencel, K., Subieta, K.: OCL as the Query Language for UML Model Execution. In: International Conference on Computational Science - ICCS, pp. 311–320 (2008)

    Google Scholar 

  4. Grinev, M., Kuznetsov, S.D.: UQL: A UML-based Query Language for Integrated Data. Programming and Computer Software 28(4), 189–196 (2002)

    Article  MATH  Google Scholar 

  5. Stein, D., Hanenberg, S., Unland, R.: Query Models. The Unified Modeling Language - UML, 98–112 (2004)

    Google Scholar 

  6. Mandel, L., Cengarle, M.V.: On the Expressive Power of OCL. In: Wing, J.M., Woodcock, J. (eds.) FM 1999. LNCS, vol. 1708, pp. 854–874. Springer, Heidelberg (1999)

    Google Scholar 

  7. Gaafar, A., Sakr, S.: Towards a Framework for Mapping Between UML/OCL and XML/XQuery. The Unified Modeling Language - UML, 241–259 (2004)

    Google Scholar 

  8. Staes, F., Tarantino, L.: OOQBE: An Intuitive Graphical Query Language with Recursion. In: Human-Computer Interaction - HCI, pp. 603–608 (1993)

    Google Scholar 

  9. Object Management Group: Object Constraint Language version 2.0 (May 2006), http://www.omg.org/cgi-bin/doc?formal/2006-05-01

  10. Object Management Group: Unified Modeling Language Specification, version 1.3, formal/2001-09-67, http://www.omg.org/spec/UML/1.3/PDF

  11. Object Management Group: XML Metadata Interchange, XMI 1.1 RTF UML DTD, http://www.omg.org/cgi-bin/doc?ad/99-10-05

  12. Simple API for XML: SAX 2.0.1, http://www.saxproject.org/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Zhang, X., Chen, H., Zhang, T. (2013). An UML Model Query Method Based on Structure Pattern Matching. In: Yuan, Y., Wu, X., Lu, Y. (eds) Trustworthy Computing and Services. ISCTCS 2012. Communications in Computer and Information Science, vol 320. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35795-4_64

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-35795-4_64

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-35794-7

  • Online ISBN: 978-3-642-35795-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics