Generating Assertion Code from OCL: A Transformational Approach Based on Similarities of Implementation Languages

被引:0
|
作者
Moiseev, Rodion [1 ]
Hayashi, Shinpei [1 ]
Saeki, Motoshi [1 ]
机构
[1] Tokyo Inst Technol, Dept Comp Sci, Meguro Ku, Tokyo 1528552, Japan
关键词
OCL; constraints; assertion code; programming languages;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The Object Constraint Language (OCL) carries a platform independent characteristic allowing it to be decoupled from implementation details, and therefore it is widely applied in model transformations used by model-driven development techniques. However, OCL call he found tremendously useful in the implementation phase aiding assertion code generation and allowing system verification. Yet, taking full advantage of OCL without destroying its platform independence is a difficult task. This paper proposes an approach for generating assertion code front OCL constraints by using a model transformation technique to abstract language specific details away from OCL high-level concepts, showing wide applicability of model transformation techniques. We take advantage of structural similarities of implementation to describe a rewriting framework. which is used to easily and flexibly reformulate OCL constraints into ally target language, making them executable oil any platform. A tool is implemented to demonstrate the effectiveness of this approach.
引用
收藏
页码:650 / 664
页数:15
相关论文
共 50 条
  • [31] MODEL-BASED DESIGN AND IMPLEMENTATION OF POINTING AND TRACKING SYSTEMS: FROM MODEL TO CODE IN ONE STEP
    Lim, Sungyung
    Lane, Benjamin F.
    Moran, Bradley A.
    Henderson, Timothy C.
    Geisel, Frank A.
    GUIDANCE AND CONTROL 2010, 2010, 137 : 165 - 184
  • [32] Generating Maude Specifications from UML Interaction Overview Diagrams: A Graph Transformation Based Approach
    Djaoui, Chafika
    Kerkouche, Elhillali
    Chaoui, Allaoua
    Khalfaoui, Khaled
    2018 FIFTH INTERNATIONAL SYMPOSIUM ON INNOVATION IN INFORMATION AND COMMUNICATION TECHNOLOGY (ISIICT 2018), 2018, : 109 - 116
  • [33] A machine learning based approach for generating point sketch maps from qualitative directional information
    Long, Zhiguo
    Li, Qingqian
    Meng, Hua
    Sioutis, Michael
    INTERNATIONAL JOURNAL OF GEOGRAPHICAL INFORMATION SCIENCE, 2024, 38 (09) : 1881 - 1911
  • [34] SemRegex: A Semantics-Based Approach for Generating Regular Expressions from Natural Language Specifications
    Zhong, Zexuan
    Guo, Jiaqi
    Yang, Wei
    Peng, Jian
    Xie, Tao
    Lou, Jian-Guang
    Liu, Ting
    Zhang, Dongmei
    2018 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2018), 2018, : 1608 - 1618
  • [35] Generating verifiable LOTOS specifications from UML models: a graph transformation-based approach
    Djaaboub, Salim
    Kerkouche, Elhillali
    Chaoui, Allaoua
    INTERNATIONAL JOURNAL OF EMBEDDED SYSTEMS, 2018, 10 (06) : 453 - 469
  • [36] A fundamental approach to model versioning based on graph modifications: from theory to implementation
    Gabriele Taentzer
    Claudia Ermel
    Philip Langer
    Manuel Wimmer
    Software & Systems Modeling, 2014, 13 : 239 - 272
  • [37] A fundamental approach to model versioning based on graph modifications: from theory to implementation
    Taentzer, Gabriele
    Ermel, Claudia
    Langer, Philip
    Wimmer, Manuel
    SOFTWARE AND SYSTEMS MODELING, 2014, 13 (01): : 239 - 272
  • [38] A model-based approach for multiple QoS in scheduling: from models to implementation
    Christos Kloukinas
    Sergio Yovine
    Automated Software Engineering, 2011, 18 : 5 - 38
  • [39] A model-based approach for multiple QoS in scheduling: from models to implementation
    Kloukinas, Christos
    Yovine, Sergio
    AUTOMATED SOFTWARE ENGINEERING, 2011, 18 (01) : 5 - 38
  • [40] CombAlign: a code for generating a one-to-many sequence alignment from a set of pairwise structure-based sequence alignments
    Zhou, Carol L. Ecale
    SOURCE CODE FOR BIOLOGY AND MEDICINE, 2015, 10