Abstract
Current software applications typically consist of a system of multiple components, each being modeled using a different type of meta-model. In addition, when developing the application, various integrity-constraint languages are used for particular meta-models (e.g. OCL for UML, Schematron for XML schemas, or SQL triggers for relational databases). Hence, the constraint expressions need to be converted to expressions over the different meta-models (i.e. modeled) too, which is a non-trivial task. In this paper, a new universal language called Universal Constraint Language (UCL) for expressing integrity constraints over various data models is introduced. It is formally defined and also its parser is implemented within the DaemonX project. In particular, expressing constraints in UCL for UML class diagrams and for XML schemas is supported. Thanks to preserving mutual relations between models in DaemonX we can also we can also translate the respective constraints between the models.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Service Oriented Architecture—SOA. IBM. http://www-01.ibm.com/software/solutions/soa/
Object Management Group (2010) Unified modelling language specification, version 2.3. http://www.omg.org
Nečaský M (2009) Conceptual modelling for XML, vol 99 of dissertations in database and information systems series. IOS Press/AKA Verlag, Amsterdam
Piják P (2011) Universal constraint language. Master’s thesis, Charles University in Prague. http://www.ksi.mff.cuni.cz/~holubova/dp/Pijak.pdf
Object Management Group (2010) Object constraint language OMG available, specification version 2.2. http://www.omg.org
Dresden OCL. http://www.dresden-ocl.org/index.php/DresdenOCL
Object Management Group. MetaObject facility. 2.4—Beta 2. ISO/IEC 19470:2005
ECore meta-model. Package org.eclipse.emf.ecore
Akehurst D, Linington P, Patrascoiu O (2003) OCL 2.0: implementing the standard. Computer Laboratory, University of Kent, Tonbridge
Demuth B, Hussmann H (1999) Using OCL constraints for relational database design. In: UML’99—the unified modelling language, Proceedings of the 2nd international conference, LNCS 1723, Springer, pp 598-613
DaemonX-Team (2001) DaemonX. http://DaemonX.codeplex.com/
Acknowledgement
This work was supported by the GACR grant no. P202/1 1/P455 and the GAUK grant no. 541013.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Piják, P., Malý, J., Nečaský, M., (Mlýnková), I.H. (2014). UCL: Universal Constraint Language. In: José Escalona, M., Aragón, G., Linger, H., Lang, M., Barry, C., Schneider, C. (eds) Information System Development. Springer, Cham. https://doi.org/10.1007/978-3-319-07215-9_42
Download citation
DOI: https://doi.org/10.1007/978-3-319-07215-9_42
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-07214-2
Online ISBN: 978-3-319-07215-9
eBook Packages: Computer ScienceComputer Science (R0)