| Translating the Object Constraint Language into the Java Modelling Language |
| Full text |
Pdf
(135 KB)
|
| Source
|
Symposium on Applied Computing
archive
Proceedings of the 2004 ACM symposium on Applied computing
table of contents
Nicosia, Cyprus
SESSION: Software engineering: applications, practices tools (SE)
table of contents
Pages: 1531 - 1535
Year of Publication: 2004
ISBN:1-58113-812-1
|
|
Author
|
|
Ali Hamie
|
University of Brighton Brighton, UK
|
|
| Sponsor |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 10, Downloads (12 Months): 67, Citation Count: 0
|
|
|
ABSTRACT
The Object Constraint Language OCL is a textual specification language that could be used for constraining the modelling elements that occur in UML diagrams. Typical constraints include class invariants and preconditions and postconditions of operations. The Java Modelling Language (JML) is a behavioural interface specification language designed for specifying Java classes and interfaces. This paper defines a translation of OCL expressions and constraints into the Java Modelling Language. The objective of this translation is to be able to map UML object-oriented designs with OCL constraints to Java classes and interfaces annotated with JML specifications, and to carry out logical reasoning about such classes and interfaces using JML tools which include a run time assertion checker and an interactive prover based on PVS.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
| |
2
|
|
| |
3
|
Cheon, Y. and Leavens, G., A Runtime Assertion Checker for the Java Modeling Language (JML). In Software Engineering Research and Practice (SERP'02), pages 322--328. CSREA Press, June 2002.
|
| |
4
|
|
| |
5
|
|
| |
6
|
Leavens G., Baker A., and Ruby C., JML: A notation for detailed design. In Haim Kilov, Bernhard Rumpe, and Ian Simmonds, editors, Behavioral Specifications of Businesses and Systems, pages 175--188. Kluwer Academic Publishers, Boston, 1999.
|
| |
7
|
Leavens G., Baker A., and Ruby C., Preliminary Design of JML: A Behavioral Interface Specification Language for Java. TR98-06, revised version 2003.
|
 |
8
|
Gary T. Leavens , Clyde Ruby , K. Rustan , M. Leino , Erik Poll , Bart Jacobs, JML (poster session): notations and tools supporting detailed design in Java, Addendum to the 2000 proceedings of the conference on Object-oriented programming, systems, languages, and applications (Addendum), p.105-106, January 2000, Minneapolis, Minnesota, United States
[doi> 10.1145/367845.367996]
|
| |
9
|
|
| |
10
|
Rational Software Corporation. The Object Constraint Language Specification Version 2.0. Available at http://www.rational.com, 2003.
|
| |
11
|
Rational Software Corporation. The Unified Modeling Language UML Version 2.0. Available at http://www.rational.com, 2003.
|
| |
12
|
|
| |
13
|
|
| |
14
|
|
|