Possible Realizations of Multiplicity Constraints

Zdenek Rybola1 and Karel Richta2, 3

  1. Faculty of Information Technology, Czech Technical University in Prague
    Thakurova 9, 160 00 Prague
    zdenek.rybola@fit.cvut.cz
  2. Faculty of Mathematics and Physics, Charles University in Prague
    Malostranske nam. 25, 118 00 Prague
    richta@ksi.mff.cuni.cz
  3. Faculty of Electrical Engineering, Czech Technical University in Prague
    Technicka 2, 160 00 Prague
    richta@fel.cvut.cz

Abstract

Model Driven Development (MDD) approach is often used to model application data and behavior by a Platform Independent Model (PIM) and to generate Platform Specific Models (PSMs) and even the source code by model transformations. However, these transformations usually omit constraints of the binary association multiplicities, especially the source class optionality constraint. This paper is an extended version of the paper ’Transformation of Special Multiplicity Constraints - Comparison of Possible Realizations’ presented at MDASD workshop at the FedCSIS 2012 conference. In this paper, we summarize the process of the transformation of a binary association from a PIM into a PSM for relational databases. We suggest several possible realizations of the source class optionality constraint to encourage the automatically transformation and discuss their advantages and disadvantages.We also provide experimental comparison of our suggested realizations to the common realization where this constraint is omitted.

Key words

MDD, UML, transformation, multiplicity constraints, source class optionality constraint, OCL, SQL

Digital Object Identifier (DOI)

https://doi.org/10.2298/CSIS121210067R

Publication information

Volume 10, Issue 4 (October 2013)
Special Issue on Advances in Model Driven Engineering, Languages and Agents
Year of Publication: 2013
ISSN: 2406-1018 (Online)
Publisher: ComSIS Consortium

Full text

DownloadAvailable in PDF
Portable Document Format

How to cite

Rybola, Z., Richta, K.: Possible Realizations of Multiplicity Constraints. Computer Science and Information Systems, Vol. 10, No. 4, 1621-1645. (2013), https://doi.org/10.2298/CSIS121210067R