DocumentCode
2928243
Title
On the Relationship between the Object Constraint Language (OCL) and the Java Modeling Language (JML)
Author
Hamie, Ali
Author_Institution
Sch. of Comput., Math. & Inf. Sci., Brighton Univ.
fYear
2006
fDate
Dec. 2006
Firstpage
411
Lastpage
414
Abstract
The Object Constraint Language (OCL) is a formal specification language that could be used for constraining the modelling elements that occur in UML diagrams. The Java Modeling Language (JML) is a behavioural interface specification language designed for specifying Java classes and interfaces. This paper investigates the mapping of OCL constraints to JML constraints together with its properties. In particular the paper shows how those constructs such as iterators that are not directly supported by JML are transformed to an equivalent form that can be mapped directly to JML. The paper proposes a special library for OCL types implemented in Java that facilitates the mapping. Extracts from a case study was used to illustrate the mapping
Keywords
Java; specification languages; Java Modeling Language; Java classes; Java interface; Object Constraint Language; UML diagrams; behavioural interface specification language; formal specification language; Computer languages; Concurrent computing; Distributed computing; Formal specifications; Java; Libraries; Mathematical model; Runtime; Specification languages; Unified modeling language;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel and Distributed Computing, Applications and Technologies, 2006. PDCAT '06. Seventh International Conference on
Conference_Location
Taipei
Print_ISBN
0-7695-2736-1
Type
conf
DOI
10.1109/PDCAT.2006.85
Filename
4032217
Link To Document