Time Sequence Diagram

1 / 6

# Time Sequence Diagram - PowerPoint PPT Presentation

Time Sequence Diagram. Dr. Zhen Jiang West Chester University E-mail: zjiang@wcupa.edu url: www.cs.wcupa.edu/~zjiang. Sequence Diagrams. A sequence diagram is an interaction diagram that focuses on the time ordering of messages

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

## PowerPoint Slideshow about 'Time Sequence Diagram' - juan

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### Time Sequence Diagram

Dr. Zhen Jiang

West Chester University

E-mail: zjiang@wcupa.edu

url: www.cs.wcupa.edu/~zjiang

Sequence Diagrams

• A sequence diagram is an interaction diagram that focuses on the time ordering of messages
• A vertical dashed line is used to represent the lifetime of an object (it’s the object’s lifeline)
• A focus of control is a tall, thin rectangle that shows the period of time during which an object is performing an action
• Details can be found at http://www.ibm.com/developerworks/rational/library/3101.html

: Pilot

: ATC

requestLdgClearance(r)

checkWeather

checkRunwayClear(r)

clear

clearance

Tips for Time Sequence Diagram
• The lifetime of an object is expressed by a rectangle box. It must show when the object starts and when it ends. For different objects with the same class, separated boxes are needed.
• The time sequence (which action is conducted first) depends on the execution of objects, NOT user.
• “…” will be used in only two places.
• No lifetime box for user.
• All interface classes must be in interface level.
• Any display results using interface objects must be seen in time sequence diagram.
• Interface must be organized.
Samples