Transformation From UML Interaction Diagram to Contract Specification and Its Implementation
- Author
- LiChuang
- Advisor
- ChenHuoYan
- School
- Jinan University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 66
- Citations
- 0
Abstract
Contract is a kind of formal specification language. It specifies behavioral dependency of a set of objects collaborated to accomplish some tasks. It can be used as cluster specification in object-oriented software development where it specifies the collaborations of classes. By explicitly describing the message passing through objects, contract is suitable for object-oriented testing. TACCLE—a systematic methodology of object-oriented software testing, is based on contract used as cluster specification. But for formal specification, good mathematic training is required for its users (including analysts, designers and testers) and its popularization is difficult. UML is a main modeling language in recent years. It is directly perceived through the sense, and so is easy to be understood. More and more developers are getting familiar with it. UML interaction diagrams (including Sequence diagram and Collaboration diagram) specify the interactions between objects within the system specified. If we can transform UML model to contract specifications, software system modeling by UML then can be tested using TACCLE.In this thesis, we propose an algorithm of transformation from UML interaction diagram to contract specification. Because most UML tools do not implement all UML semantics, an algorithm of transformation based on the general UML implementation is also discussed. Furthermore, we also give an algorithm of transformation from UML interaction diagram expressed in XML to Contract specification. The prototype of the algorithm is implemented, and a case study is performed on the prototype.
Table of contents
I. Introduction 7-9
Second, the main work and structural arrangements 9-10
three , Contract Specifications 10-13
four , UML 13-24
4.1 Introduction 13-15
4.2 UML interaction diagrams 15-24
4.2.1 Sequence diagram 15-19
4.2.2 Collaboration diagrama 19-24
five , UML interaction diagrams to the Contract specification conversion algorithm 24-31
5.1 and conversion associated meta- model elements 24-29
5.2 conversion algorithm 29-31
six , generally under the form of a UML achieve conversion algorithm 31-35 <br / > 6.1 and the realization of universal representation forms 31-34
6.1.1 Sequence diagrams and Collaboration diagram messages marked 31-32
6.1.2 Action and Operation 32-34
6.2 conversion algorithm 34-35
seven , from the XML representation of UML interaction diagrams to Contract specification conversion algorithm 35-43
7.1 XMI use 35-37
7.1.1 XML 35-36
7.1.2 XMI 36-37
7.2 UML interaction diagram model elements in an XML document representation 37-40
7.3 conversion algorithm 40-43
eight , prototype implementation and examples 43-58 <br / > 8.1 algorithm 43-47
8.2 data structure 47-49
8.3 test results 49-58
nine , conclusions 58-59
References 59-61
Thanks 61
Related dissertations
- The Network Transformation Research on a Bank
- Study on the transformation of Yangzhou City Industrial and commercial Banking Company business
- Research on Strategy of the Retail Channels Transition for M Bank Jilin Branch
- The Research on Development Transformation of ShangRao Bank
- Study on Branch Management Transformation of Postal Savings Bank of China
- The Development Research on Transformation Process of the Agricultural Development Bank of China
- The development of China bancassurance business and Its Countermeasures
- Research on the Path of Innovatory Development about Retail Banking of Industrial and Commercial Bank of China
- Research on the Improvement of Social Financing Structure and the Transformation of Commercial Bank Businesses
- Research on the Transformation of China’s Current Land Fiscal Model
- Research on the Development Status of E-commerce Transformation of Large Traditional Retailers, Problems and Solutions in China
- The Analysis of Traditional Retailer Transformation in Internet Time
- A Study on the Transition from a Private-Owned Trading Company to to a Manufacturing Enterprise
- Study on the Problems and Countermeasures of Small and Micro Enterprises Transformation in Liaoning Area
- Analysis of the profit mode of securities company in China
- Research on Flow Marketing Srategy of Xingtai CMCC in3G Era
- Research on Brokerage Business Innovation of Hualong Securities
- Comprehensive Risk Management of Life Insurance Company during the Period of Transformation
- Study on the Transformation of Tacit Knowledge in Innovative Companies
- Study on the Transformation and Upgrading of the XHH Hardware Products Company