Abstract
Despite the specification of OCL mentions “query language” as one of its possible applications, there are rather few efforts in that direction. However, the problem becomes central where applying MDA to data intensive application modelling is considered. Recently added UML elements of Actions and Structured Activities make it possible to represent a level of detail similar to the one of common programming languages, but data processing requires adequate querying capability as well. As the OMG specification of the UML family, the Object Constraint Language becomes the most obvious candidate to serve this purpose. In this paper we research this role of OCL. Especially, we address the issues of seamless integration with UML metamodel and the useful features of query languages that are missing from OCL.
Supported by the EC 6-th FP, Project VIDE, IST 033606 STP.
Chapter PDF
References
Object Management Group: Unified Modeling Language: Superstructure version 2.1.1 (February 2007), www.omg.org/cgi-bin/doc?formal/2007-02-05
Mellor, S.J., Scott, K., Uhl, A., Weise, D.: MDA Distilled: Principles of Model-Driven Architecture. Addison-Wesley, Reading (2004)
Object Management Group: Object Constraint Language version 2.0 (May 2006), www.omg.org/cgi-bin/doc?formal/2006-05-01
Hailpern, B., Tarr, P.: Model-driven development: The good, the bad, and the ugly. IBM Systems Journal: Model-Driven Software Development 45(3) (2006)
Ambler, S.W.: A Roadmap for Agile MDA. Ambysoft (2007), www.agilemodeling.com/essays/agileMDA.htm
Thomas, D.A.: MDA: Revenge of the Modelers or UML Utopia? IEEE Software 21(3), 15–17 (2004)
Warmer, J., Kleppe, A.: Object Constraint Language, The: Getting Your Models Ready for MDA. Addison-Wesley, Reading (2003)
Subieta, K.: Stack-Based Approach (SBA) and Stack-Based Query Language (SBQL) (2008), www.sbql.pl
Subieta, K., Kambayashi, Y., Leszczyłowski, J.: Procedures in Object-Oriented Query Languages. In: Proc. VLDB Conf., pp. 182–193. Morgan Kaufmann, San Francisco (1995)
Subieta, K.: Theory and Construction of Object-Oriented Query Languages. Editors of the Polish-Japanese Institute of Information Technology (2004) (in polish)
Lentner, M., Stencel, K., Subieta, K.: Semi-strong Static Type Checking of Object-Oriented Query Languages. In: SOFSEM, pp. 399-408 (2006)
Płodzień, J., Kraken, A.: Object Query Optimization through Detecting Independent Subqueries. Inf. Syst. 25(8), 467–490 (2000)
Płodzień, J., Subieta, K.: Query Optimization through Removing Dead Subqueries. In: Caplinskas, A., Eder, J. (eds.) ADBIS 2001. LNCS, vol. 2151, pp. 27–40. Springer, Heidelberg (2001)
Visualize all moDel drivEn programming, www.vide-ist.eu/
Akehurst, D., Patrascoiu, O.: OCL 2.0 - Implementing the Standard for Multiple Metamodels. In: Proceedings of the Workshop OCL 2.0 - Industry Standard or Scientific Playground? November 2, Electronic Notes in Theoretical Computer Science, vol. 102, pp. 21–41 (2004)
Dresden OCL Toolkit, dresden-ocl.sourceforge.net
Model Development Tools OCL, Eclipse Foundation, wiki.eclipse.org/MDT
Vaziri, M., Jackson, D.: Some Shortcomings of OCL, the Object Constraint Language of UML. In: Proceedings of the Technology of Object-Oriented Languages and Systems (TOOLS 34’00), pp. 555–562. IEEE Computer Society, Los Alamitos (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Habela, P., Kaczmarski, K., Stencel, K., Subieta, K. (2008). OCL as the Query Language for UML Model Execution. In: Bubak, M., van Albada, G.D., Dongarra, J., Sloot, P.M.A. (eds) Computational Science – ICCS 2008. ICCS 2008. Lecture Notes in Computer Science, vol 5103. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-69389-5_36
Download citation
DOI: https://doi.org/10.1007/978-3-540-69389-5_36
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-69388-8
Online ISBN: 978-3-540-69389-5
eBook Packages: Computer ScienceComputer Science (R0)