DocumentCode
3093346
Title
Towards efficient support for executing the Object Constraint Language
Author
Collet, Philippe ; Rousseau, Roger
Author_Institution
Nice Univ., France
fYear
1999
fDate
36373
Firstpage
399
Lastpage
408
Abstract
The Object Constraint Language (OCL) forms part of the UML notation as a language to complete graphical models by expressing precise constraints or assertions. As OCL is developed as a non-executable language, expressed properties cannot be embedded as executable assertions in the resulting implementations to provide correctness testing. Nonetheless a large part of OCL seems to be easily executable, but straightforward implementations would be inefficient and detrimental to the approach. The paper proposes a pragmatic solution for an OCL runtime support and determines the origins of potential inefficiency. The evaluation of assertions is streamlined according to their roles and the possibility of sampling quantified assertions. The triggering of assertions is driven by a changed based system that simplifies large scale use while ensuring that unstable parts undergo more controls
Keywords
formal specification; object-oriented languages; object-oriented programming; visual programming; OCL runtime support; Object Constraint Language; UML notation; assertion triggering; changed based system; correctness testing; executable assertions; graphical models; large scale use; non-executable language; pragmatic solution; quantified assertions; unstable parts; Computer languages; Control systems; Iterative methods; Java; Large-scale systems; Runtime; Sampling methods; Specification languages; Testing; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Technology of Object-Oriented Languages and Systems, 1999. TOOLS 30 Proceedings
Conference_Location
Santa Barbara, CA
Print_ISBN
0-7695-0278-4
Type
conf
DOI
10.1109/TOOLS.1999.787605
Filename
787605
Link To Document