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 条
  • [21] A cell-based approach for generating solid objects from orthographic projections
    IBM Research, Tokyo Research Laboratory, 1623-19, Shimo-tsuruma, Yamato-shi, Kanagawa 242, Japan
    CAD Comput Aided Des, 3 (177-187):
  • [22] A design pattern based approach to generating synchronization adaptors from annotated IDL
    Jacobsen, HA
    Krämer, BJ
    13TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 1998, : 63 - 72
  • [23] An Automatic Approach to Generating a State Diagram from a Contract-Based Class
    Bae, Jung Ho
    Chae, Heung Seok
    16TH ANNUAL IEEE INTERNATIONAL CONFERENCE AND WORKSHOP ON THE ENGINEERING OF COMPUTER BASED SYSTEMS, PROCEEDINGS, 2009, : 323 - 331
  • [24] Students and Income-Earning Youths: a Transformational Transition from Competition-Based Approach to Competitiveness
    Shafranov-Kutsev, Gennadii F.
    Efimova, Galina Z.
    ECONOMIC AND SOCIAL CHANGES-FACTS TRENDS FORECAST, 2018, 11 (05) : 231 - 246
  • [25] Generating Correct, Compact, and Efficient PLC Code from Scenario-based Assume-Guarantee Specifications
    Gritzner, Daniel
    Greenyer, Joel
    4TH INTERNATIONAL CONFERENCE ON SYSTEM-INTEGRATED INTELLIGENCE: INTELLIGENT, FLEXIBLE AND CONNECTED SYSTEMS IN PRODUCTS AND PRODUCTION, 2018, 24 : 153 - 158
  • [26] Extracting constraint knowledge from code: A case-based reasoning approach
    Broad, A
    Filer, N
    RESEARCH AND DEVELOPMENT IN INTELLIGENT SYSTEMS XVI, 2000, : 83 - 96
  • [27] Generating user interfaces from conceptual models: A model-transformation based approach
    Pastor, Oscar
    COMPUTER-AIDED DESIGN OF USER INTERFACES V, 2007, : 1 - 14
  • [28] A KNOWLEDGE-BASED APPROACH TO GENERATING TARGET SYSTEM SPECIFICATIONS FROM A DOMAIN MODEL
    GOMAA, H
    KERSCHBERG, L
    SUGUMARAN, V
    IFIP TRANSACTIONS A-COMPUTER SCIENCE AND TECHNOLOGY, 1992, 12 : 252 - 258
  • [29] A Knowledge-Based Approach for Generating UML Sequence Diagrams from Operation Contracts
    Laosen, Nasith
    Nantajeewarawat, Ekawit
    RECENT ADVANCES AND FUTURE PROSPECTS IN KNOWLEDGE, INFORMATION AND CREATIVITY SUPPORT SYSTEMS, 2018, 685 : 141 - 155
  • [30] A Weight Based Approach for Emotion Recognition from Speech: An Analysis Using South Indian Languages
    Poorna, S. S.
    Anuraj, K.
    Nair, G. J.
    SOFT COMPUTING SYSTEMS, ICSCS 2018, 2018, 837 : 14 - 24