楠本研究室

業績一覧

ホーム業績一覧

Practical Application of a Translation Tool from UML/OCL to Java Skeleton with JML Annotation

Practical Application of a Translation Tool from UML/OCL to Java Skeleton with JML Annotation
14th International Conference on Enterprise Information Systems, pp.389-394 (2012)
概要: In recent years, MDA techniques have been strongly developed. Thus, translation techniques such as UML to some program languages have gained a lot of attention. Translation techniques such as OCL to JML have been also researched. OCL is a language to describe detail properties of UML and standardized by OMG, while, JML is a language to specify properties of Java program. Both OCL and JML are based on DbC and able to provide properties of classes or methods. There are, however, not many researches on translating automatically OCL into JML and past researches often pay little attention to collection features, especially iteration. Our research group has proposed a concrete method which translates UML class diagram with OCL into Java skeleton with JML. This paper presents an implementation tool based on the technique. To evaluate the quality of the tool, we applied the tool to two real examples, a warehouse management program and a syllabus management system. As a result, we found that every OCL constraint described manually was translated successfully into JML. Also, we found some defects existed in the design of a syllabus management system. タグ: annotation, application, java, jml, practical, skeleton, tool, translation, uml/ocl
@inproceedings{KentaroHanada2012,
  author = {Kentaro Hanada and Kozo Okano and Shinji Kusumoto and Kiyoyuki Miyazawa},
  title = {Practical Application of a Translation Tool from UML/OCL to Java Skeleton with JML Annotation},
  booktitle = {14th International Conference on Enterprise Information Systems},
  pages = {389--394},
  year = {2012},
  month = {jun}
}