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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Akehurst, D.H., Bordbar, B.: On Querying UML Data Models with OCL. The Unified Modeling Language - UML, 91–103 (2001)
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)
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)
Grinev, M., Kuznetsov, S.D.: UQL: A UML-based Query Language for Integrated Data. Programming and Computer Software 28(4), 189–196 (2002)
Stein, D., Hanenberg, S., Unland, R.: Query Models. The Unified Modeling Language - UML, 98–112 (2004)
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)
Gaafar, A., Sakr, S.: Towards a Framework for Mapping Between UML/OCL and XML/XQuery. The Unified Modeling Language - UML, 241–259 (2004)
Staes, F., Tarantino, L.: OOQBE: An Intuitive Graphical Query Language with Recursion. In: Human-Computer Interaction - HCI, pp. 603–608 (1993)
Object Management Group: Object Constraint Language version 2.0 (May 2006), http://www.omg.org/cgi-bin/doc?formal/2006-05-01
Object Management Group: Unified Modeling Language Specification, version 1.3, formal/2001-09-67, http://www.omg.org/spec/UML/1.3/PDF
Object Management Group: XML Metadata Interchange, XMI 1.1 RTF UML DTD, http://www.omg.org/cgi-bin/doc?ad/99-10-05
Simple API for XML: SAX 2.0.1, http://www.saxproject.org/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)