A constraint modeling framework for domain-specific languages

The growing usage of Domain Specific Modeling Languages (DSML) for architecture view frameworks induces a need for automatic verification of non-functional model properties like completeness and consistency. However, we argue that the high demand for tailored architecture view frameworks is not complemented by appropriate constraint specification facilities. OCL is a common language for defining modeling constraints, but industry user reports indicate that despite its accuracy, it is too complex to be adopted in industrial scale. Approaches that were proposed to simplify the use of OCL either operate on technical formalisms or lack tool support to express new, or more complex types of constraints that can be validated automatically on the model. To address this challenge, we present a constraint modeling framework for the specification and validation of constraints on DSMLs. A Constraint Modeling Language (CML) created based on this framework provides a high level constraint specification en- vironment by using extensible template implementations to enable the automatic validation in computer aided software engineering (CASE) tools. We evaluate the approach in different industry projects and observe that using the proposed framework enhances understandability and effectiveness of constraint specification.

[1]  Daniel Jackson,et al.  Some Shortcomings of OCL, the Object Constraint Language of UML , 2000, TOOLS.

[2]  Klaus D. Müller-Glaser,et al.  Model-Based Consistency Checks of Electric and Electronic Architectures against Requirements , 2011, MoDELS Workshops.

[3]  B. Demuth,et al.  THE DRESDEN OCL TOOLKIT AND ITS ROLE IN INFORMATION SYSTEMS DEVELOPMENT , 2004 .

[4]  G. Tosti,et al.  The software architecture to control the Cherenkov Telescope Array , 2016, Astronomical Telescopes + Instrumentation.

[5]  Steven Kelly,et al.  Defining Domain-Specific Modeling Languages: Collected Experiences , 2004 .

[6]  Martin Gogolla,et al.  Object Constraint Language (OCL): A Definitive Guide , 2012, SFM.

[7]  Richard F. Paige,et al.  On the Evolution of OCL for Capturing Structural Constraints in Modelling Languages , 2009, Rigorous Methods for Software Construction and Analysis.

[8]  Juha-Pekka Tolvanen,et al.  Domain-Specific Modeling: Enabling Full Code Generation , 2008 .

[9]  Martin Gogolla Unified Modeling Language , 2009, Encyclopedia of Database Systems.

[10]  Gabriele Taentzer,et al.  Two visualizations of OCL: a comparison , 2005 .

[11]  Manfred Broy,et al.  Model-Based Engineering of Embedded Systems: The SPES 2020 Methodology , 2012 .

[12]  Pablo Oliveira Antonino de Assis Improving the consistency and completeness of safety requirements specifications , 2016 .

[13]  Anneke Kleppe,et al.  The Object Constraint Language: Getting Your Models Ready for MDA , 2003 .

[14]  Cristina Gómez,et al.  Improving the definition of general constraints in UML , 2007, Software & Systems Modeling.

[15]  Peter H. Feiler,et al.  The Architecture Analysis & Design Language (AADL): An Introduction , 2006 .

[16]  Manfred Broy,et al.  Model-Based Engineering of Embedded Systems , 2012, Springer Berlin Heidelberg.

[17]  Thomas Kuhn,et al.  Modeling embedded systems using a tailored view framework and architecture modeling constraints , 2017, ECSA.

[18]  Conrad E. Bock JOURNAL OF OBJECT TECHNOLOGY Online at www.jot.fm. Published by ETH Zurich, Chair of Software Engineering ©JOT, 2003 , 2022 .

[19]  Conrad Bock,et al.  UML 2 Activity and Action Models, Part 5: Partitions , 2004, J. Object Technol..

[20]  Juha-Pekka Tolvanen,et al.  What is Needed in a MetaCASE Environment? , 2005, Enterp. Model. Inf. Syst. Archit. Int. J. Concept. Model..