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

Request the full text

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

  1. The Network Transformation Research on a Bank
    RenChen ·Central South University ·2012 ·Master's thesis
  2. Study on the transformation of Yangzhou City Industrial and commercial Banking Company business
    MeiZuo ·Yangzhou University ·2013 ·Master's thesis
  3. Research on Strategy of the Retail Channels Transition for M Bank Jilin Branch
    HuangBaoShi ·Jilin University ·2013 ·Master's thesis
  4. The Research on Development Transformation of ShangRao Bank
    PanZuo ·Nanchang University ·2013 ·Master's thesis
  5. Study on Branch Management Transformation of Postal Savings Bank of China
    WangZuo ·Jilin University ·2013 ·Master's thesis
  6. The Development Research on Transformation Process of the Agricultural Development Bank of China
  7. The development of China bancassurance business and Its Countermeasures
    WangZuo ·Capital University of Economics ·2014 ·Master's thesis
  8. Research on the Path of Innovatory Development about Retail Banking of Industrial and Commercial Bank of China
    QianPeiHong ·Xiamen University ·2014 ·Master's thesis
  9. Research on the Improvement of Social Financing Structure and the Transformation of Commercial Bank Businesses
    YanYunShan ·Zhejiang University ·2014 ·Master's thesis
  10. Research on the Transformation of China’s Current Land Fiscal Model
    HouZhaoRui ·Liaoning University ·2013 ·Doctoral dissertation
  11. Research on the Development Status of E-commerce Transformation of Large Traditional Retailers, Problems and Solutions in China
    LiKai ·Sichuan Normal University ·2013 ·Master's thesis
  12. The Analysis of Traditional Retailer Transformation in Internet Time
  13. A Study on the Transition from a Private-Owned Trading Company to to a Manufacturing Enterprise
  14. Study on the Problems and Countermeasures of Small and Micro Enterprises Transformation in Liaoning Area
    HanMi ·Shenyang Normal ·2014 ·Master's thesis
  15. Analysis of the profit mode of securities company in China
    ZuoXiaoZuo ·Northwestern University ·2013 ·Master's thesis
  16. Research on Flow Marketing Srategy of Xingtai CMCC in3G Era
  17. Research on Brokerage Business Innovation of Hualong Securities
    ZhouLiXin ·Lanzhou University ·2013 ·Master's thesis
  18. Comprehensive Risk Management of Life Insurance Company during the Period of Transformation
  19. Study on the Transformation of Tacit Knowledge in Innovative Companies
    WangJinYu ·Liaoning Normal University ·2013 ·Master's thesis
  20. Study on the Transformation and Upgrading of the XHH Hardware Products Company
    HuYuanBing ·Xiangtan University ·2013 ·Master's thesis