Course Code and Title: ENTERPRISE ARCHITECTURE Lesson Number: Lesson 6 (Week 6) Topic: Unified Modeling Language (UML) - Sequence Diagram
Course Code and Title: ENTERPRISE ARCHITECTURE Lesson Number: Lesson 6 (Week 6) Topic: Unified Modeling Language (UML) - Sequence Diagram
Note that there are two types of sequence diagrams: UML diagrams and code-based
diagrams. The latter is sourced from programming code and will not be covered in
this guide. Lucidchart’s UML diagramming software is equipped with all the shapes
and features you will need to model both.
Sequence diagrams can be useful references for businesses and other organizations.
Try drawing a sequence diagram to:
To understand what a sequence diagram is, you should be familiar with its symbols and
components. Sequence diagrams are made up of the following icons and elements:
Object
Represents a class or object in UML. The object symbol demonstrates how an object
will behave in the context of the system. Class attributes should not be listed in this
shape.
Actor
Shows entities that interact with or are external to the system.
Lifeline
Represents the passage of time as it extends downward. This dashed vertical line
shows the sequential events that occur to an object during the charted process.
Lifelines may begin with a labeled rectangle shape or an actor symbol.
Activation box
Represents the time needed for an object to complete a task. The longer the task will
take, the longer the activation box becomes.
Common message symbols
Use the following arrows and message symbols to show how information is transmitted
between objects. These symbols may reflect the start and execution of an operation or
the sending and reception of a signal.
Synchronous message
Represented by a solid line with a solid arrowhead. This symbol is used when a sender
must wait for a response to a message before it continues. The diagram should show
both the call and the reply.
Asynchronous message
Represented by a solid line with a lined arrowhead. Asynchronous messages don't
require a response before the sender continues. Only the call should be included in the
diagram.
Represented by a dashed line with a lined arrowhead. This message creates a new
object.
Reply message
Represented by a dashed line with a lined arrowhead, these messages are replies to
calls.
Delete message
Represented by a solid line with a solid arrowhead, followed by an X. This message
destroys an object.
An ATM allows patrons to access their bank accounts through a completely automated
process. You can examine the steps of this process in a manageable way by drawing
or viewing a sequence diagram. The example below outlines the sequential order of
the interactions in the ATM system.
Summary:
Evaluation: Week 6
Watch the video UML Behavioral Diagrams: Sequence. After watching this video
make a reaction paper on what you have learned in the video. (10 points)
https://www.youtube.com/watch?v=XIQKt5Bs7II
References:
Books:
Enterprise Architecture
Sparx Systems and Stephen Maguire. 2017
Online Resources:
https://www.lucidchart.com/pages/uml-sequence-diagram
https://creately.com/blog/diagrams/sequence-diagram-tutorial/