DocumentCode
2870675
Title
A formal semantics of UML sequence diagram
Author
Li, Xiaoshan ; Liu, Zhiming ; Jifeng, He
Author_Institution
Fac. of Sci. & Technol., Univ. of Macao, China
fYear
2004
fDate
2004
Firstpage
168
Lastpage
177
Abstract
We present a formal semantics of UML sequence diagram. In abstract syntax form, a well-formed sequence diagram corresponds to an ordered hierarchical structure tree. The static semantics of a sequence diagram is to check whether it is consistent with the class diagram declaration as well as with its well-formed tree structure. Meanwhile, the dynamic semantics is defined in terms of the state transitions that are carried out by the method invocations in the diagram. When a message is executed, it must be consistent with system state, i.e., object diagram and the state diagrams of its related objects. The semantics clearly captures the consistency between sequence diagram with class diagram and state diagram. Therefore, it is useful to develop the model consistent checking functions in UML CASE tools. And it also can be used to reason about the correctness of a design model with respect to a requirement model.
Keywords
computer aided software engineering; formal specification; formal verification; programming language semantics; software tools; specification languages; tree data structures; UML CASE tools; class diagram; formal semantics; formal specification; hierarchical structure tree; message sequence diagram; model consistent checking function; state diagram; state transition; Computer aided software engineering; Computer science; Helium; Mathematics; Object oriented modeling; Object oriented programming; Software systems; Tree data structures; Unified modeling language; Visualization;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering Conference, 2004. Proceedings. 2004 Australian
Print_ISBN
0-7695-2089-8
Type
conf
DOI
10.1109/ASWEC.2004.1290469
Filename
1290469
Link To Document