題名: Strategies for Translating UML/OCL Design Models to JAVA/JML Designs
作者: Hamie, Ali
關鍵字: OCL
UML
JML
Constraints
期刊名/會議名稱: 2004 ICS會議
摘要: The Object Constraint Language OCL is a textual notation that can be used for making UML models more precise by expressing formal constraints on the modelling elements that occur in UML diagrams. OCL can be used to specify invariants on classes and preconditions and postconditions of operations and methods. The Java Modeling Language JML is a behavioural interface specification language for specifying Java classes and interfaces. Like OCL, JML can be used to specify invariants and preconditions and postconditions. However JML explicitly targets Java, whereas OCL is not specific to any one programming language. This paper deals with the translation of some aspects of UML design models with OCL constraints to Java classes and interfaces annotated with JML assertions. Rather than giving a particular translation, the paper proposes different translation strategies that would be possible. A set of defaults for all the decisions would be adopted which would allow translation to be automated, for example by a tool that could take the UML/OCL model and translate it directly into an initial JML/Java design that could later be modified as desired.
日期: 2006-10-11T07:57:16Z
分類:2004年 ICS 國際計算機會議

文件中的檔案:
檔案 描述 大小格式 
ce07ics002004000035.pdf248.65 kBAdobe PDF檢視/開啟


在 DSpace 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。