0% found this document useful (0 votes)
57 views10 pages

Unified Model Language (UML)

The document discusses Unified Modeling Language (UML) sequence diagrams, which depict the interactions between objects in a system in sequential order to represent scenarios like how a process is completed. Sequence diagrams use common symbols like lifelines to represent participants, messages to show communications, and activations to indicate when an element is performing an operation. Benefits of sequence diagrams include documenting requirements, understanding how components interact to complete a process, and planning functionality for existing or future systems.

Uploaded by

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

Unified Model Language (UML)

The document discusses Unified Modeling Language (UML) sequence diagrams, which depict the interactions between objects in a system in sequential order to represent scenarios like how a process is completed. Sequence diagrams use common symbols like lifelines to represent participants, messages to show communications, and activations to indicate when an element is performing an operation. Benefits of sequence diagrams include documenting requirements, understanding how components interact to complete a process, and planning functionality for existing or future systems.

Uploaded by

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

Unified Model Language (UML)

• What is a Sequence diagram or event diagram


A sequence diagram simply depicts interaction between object in a
sequence order i.e. the order in which these interactions take place

 Sequence diagram describe how and in what order the objects in a


system function
 These diagrams are widely used by businessman and software
developers to document and understand requirements for new and
existing systems
Benefits of sequence diagrams
• Sequence diagrams can be useful references for businesses and other
organizations to
 Represent the detail of a UML use case
 See how objects and components interact with each other to
complete process
 Plan and understand the detailed functionality of an existing or
future scenario
Basic symbols and components

Actor Lifeline
 Represent roles played by human user, A lifeline represents an individual participant
external hardware or subject In the interaction
Activations Call Message

 A thin rectangle on a lifeline represents the period during


which an element is performing an operation  A message defines a particular communication
between lifelines of an interaction
Self Message
 Is a kind of message that represent the
invocation of the same lifeline
Returning Message

 A message defines a particular communication between


lifeline of an interaction
Recursive Message
Create Message
 Is a kind of message that represents the invocation of
message of the same lifeline. It`s target points to an
activation on top of the activation where the message was
 Create message is kind of message that
invoked from represents the instantiation of (target) lifeline
Destroy Message
Duration Message

 Destroy message is a kind of message that represent


 Duration message shows the distance between two time
the request of destroying the lifecycle of target lifeline instance for a message invocation
Message and Focus of control

It shows tall, thin rectangle on a lifeline


> It represent the period during which an element is performing an operation
Note
 A note (comment) gives the ability to attach
various remarks to elements Sequence Fragments

 A sequence fragment is represented as a box, called a combined


fragment, which encloses a portion of the interaction within a
sequence
 Fragment type : ref, loop, break, alt, opt, neg
Sequence diagram of an ATM
TRANSACTION

You might also like