Computer Software
Print ISSN : 0289-6540
A Translation Method from OCL into JML by Translating the Iterate Feature into Java Methods
Masayuki OWASHIKozo OKANOShinji KUSUMOTO
Author information
JOURNAL FREE ACCESS

2010 Volume 27 Issue 2 Pages 2_106-2_111

Details
Abstract
The paper presents a translation method from OCL (Object Constraint Language) into JML (Java Modelling Language). Several approaches have proposed automatic generation methods of Java skeleton files from UML class diagrams. Less papers are found for automatic generation of JML from OCL. They deal with not all of the standard OCL library. Especially, some features of collections including iterate feature are not implemented. We resolve the problem by translating the iterate feature into Java methods. This paper also provides a concrete translation algorithm. The paper also provides a translation example from OCL into JML.
Content from these authors
© Japan Society for Software Science and Technology 2010
Previous article Next article
feedback
Top