KEMBAR78
3 Sequnce | PDF
0% found this document useful (0 votes)
10 views17 pages

3 Sequnce

Uploaded by

tifocap796
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views17 pages

3 Sequnce

Uploaded by

tifocap796
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Sequence diagram

Maher Sarem
ME CSE(IT)
Interaction Diagrams

An interaction is a behavior that comprises a set of messages,


exchanged among a set of objects, to accomplish a specific
purpose

• Sequence Diagram
• that emphasizes the time ordering of messages
• Collaboration Diagrams
• Emphasizes structural relations between objects
Sequence diagram

illustrate the dynamic view of a system


Shows how the objects interact with others in a particular scenario
of a use case
Shows a set of objects and the messages sent and received by
those objects
4
Sequence Diagrams
Classifier – abstract category of system modeling
in UML ( actor, object, interface, component,
package, etc.)
Message – describes a control flow in the system;
messages are arranged according to the sequence
of their appearance
Each classifier has a lifeline that represents its life
time
The execution specification shows time period
during which the classifier performs an operation
The objects are typically named or anonymous instances of
classes, but may also represent instances of other things,
such as components, and nodes
A message is a specification of a communication between
objects that conveys information with the expectation that
activity will ensue.
6

Alternative –possibility to choose only one of all


presented interaction operands within the combined
fragment, depending on the condition assigned to
the operand
option – the operand within the combined
fragment will occur or will be omitted, depending on
the condition
Iteration – repeating the operand a specified
number of times
7
Building a sequence diagram
Analysis of a selected use case and its scenarios
Identification of classifiers taking part in the
interaction
Development of conceptual sequence diagram
including (identified classifiers, messages and
execution specifications)
Optional development of instance sequence
diagrams for a selected generic diagram
Example:
Library System - Add title
Library System - Delete title
Library System - Edit title
Reservation
Library System - Cancel
Reservation
Library System - Sequence
digram
Library System - Sequence digram
Example: Log in

You might also like