A Formal Semantics of UML Sequence Diagram

  • Authors:
  • Xiaoshan Li;Zhiming Liu;He Jifeng

  • Affiliations:
  • -;-;-

  • Venue:
  • ASWEC '04 Proceedings of the 2004 Australian Software Engineering Conference
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a formal semantics of UML sequencediagram. In abstract syntax form, a well-formedsequence diagram corresponds to an ordered hierarchicalstructure tree. The static semantics of a sequence diagramis to check whether it is consistent with the class diagramdeclaration as well as with its well-formed tree structure.Meanwhile, the dynamic semantics is defined in terms ofthe state transitions that are carried out by the method invocationsin the diagram. When a message is executed, itmust be consistent with system state, i.e., object diagramand the state diagrams of its related objects. The semanticsclearly captures the consistency between sequence diagramwith class diagram and state diagram. Therefore, it is usefulto develop the model consistent checking functions in UMLCASE tools. And it also can be used to reason about thecorrectness of a design model with respect to a requirementmodel.