uml-Timing Diagram

Source: Internet
Author: User

OverviewTime series diagrams (Sequence Diagram) describe the chronological order in which messages are routed between objects, which are used to denote the order of behavior in a use case.
The time series diagram contains 4 elements, namely the object (OBJCE), the Lifeline (Lifeline), the message, and the activation (Activation).
Time series diagrams in UML are represented as two-dimensional graphs. Where the longitudinal axis is the timeline, the time is extended along the vertical bar. The horizontal axis represents the individual objects in the collaboration. When an object is present, the lifeline is represented by a dashed line, and the lifeline is a double-lane when the object's process is active. The message is represented by an arrow from the lifeline of one object to another object lifeline.


Composition of time series diagrams1. Objects
The object symbols in a time series diagram are the same as the symbols used for objects in the object graph, using rectangles to enclose the object names and underline the object names. Placing an object at the top of the timing diagram means that the object already exists at the beginning of the interaction, and if the object's position is not at the top, then the object is created during the interaction.
2. Lifeline
Lifelines represent the existence of objects in a sequence diagram over a period of time. is a vertical dashed line.
3. Message
A message defines some form of communication between objects, which is a single communication between objects. Messages can be used to pass parameters between objects, messages can be signals, or they can be called.
The common message symbols in UML are as follows:
The message arrow refers to the party that is the receiver.
4. Activation
The sequence diagram can describe the activation (Activation) and de-activation (deactivation) states of an object. Activation indicates that an object is occupied to complete a task, and to activate means that the object is idle and waiting for a message. The activation state in UML is represented as a rectangle.


creation and revocation of objectsAn object can exist before the interaction begins, or it is created during the interaction. The following illustration shows two ways to create an object:
If you want to undo an object, simply place an "X" symbol at its lifeline termination point, which is usually a response to a delete or cancel message.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.