Upload
raissa-camilla-maringka
View
225
Download
0
Embed Size (px)
Citation preview
7/23/2019 05a - UML Diagrams Part 1
1/36
UML Diagrams Part I
Systems Analysis and Design
IFSY361
Summer School 2015
Reymon Rotikan
7/23/2019 05a - UML Diagrams Part 1
2/36
Outline
Use Case Diagram
Activity Diagram
7/23/2019 05a - UML Diagrams Part 1
3/36
Use Case Diagram
A use case is a case (or situation) where your system is used to fulf
more of your users requirements; a use case captures a piece of fu
that the system provides.
7/23/2019 05a - UML Diagrams Part 1
4/36
Use Case Diagram contd)
Actors
External thingsthat interact with the system.
Use an actor name that can be understood by both the customer a
analyst.
7/23/2019 05a - UML Diagrams Part 1
5/36
Use Case Diagram contd)
Use Case
Cases where the system is being used to complete a specific job fo
7/23/2019 05a - UML Diagrams Part 1
6/36
Use Case Diagram contd)
Communication Lines
Connects an actor and a use case to show the actor participating in
case.
7/23/2019 05a - UML Diagrams Part 1
7/36
Use Case Diagram contd)
System Boundaries
Implicit separation between actors (external of the system) and us
(internal to the system).
System Name
7/23/2019 05a - UML Diagrams Part 1
8/36
Use Case Diagram contd)
Use Case Descriptions
Text-based description of the use case (each use case should have)
No standardize format to create the description
7/23/2019 05a - UML Diagrams Part 1
9/36
Use Case Diagram contd)
Use Case Descriptions
Figure source: Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
10/36
Use Case Diagram contd)
Use Case Relationships
reuse all the steps from the use case being included
7/23/2019 05a - UML Diagrams Part 1
11/36
Use Case Diagram contd)
Use Case Relationships
opt on lly reused of a use case
Figure source: Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
12/36
Example
7/23/2019 05a - UML Diagrams Part 1
13/36
Example
Content Management Syste
Requirement A 1
The content management system shall allow an administrator to c
blog account, provided the personal details of the new blogger are ve
the Author Credentials Database.
7/23/2019 05a - UML Diagrams Part 1
14/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
15/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
16/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
17/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
18/36
Example Content Management Syste
contd)
Requirement A 2
The content management system shall allow an administrator to c
personal Wiki, provided the personal details of the applying author
using the Author Credentials Database.
7/23/2019 05a - UML Diagrams Part 1
19/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
20/36
Figure source:
Russ Miles, Kim Hamilton. Learning UML 2.0:
A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
21/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
22/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
23/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
24/36
Exercise
7/23/2019 05a - UML Diagrams Part 1
25/36
Activity Diagram
Specify how the system will accomplish its goals. Activity diagram
high-level actions chained together to represent a process occurri
system.
Notations: initial node, final node, edge, action, decision, merge.
7/23/2019 05a - UML Diagrams Part 1
26/36
Figure source:
Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction
to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
27/36
Activity Diagram contd)
Activities and Actions
Activity = the process being modeled, e.g., washing a car
Action = step in the overall activity, e.g., lather, rinse, and dry.
7/23/2019 05a - UML Diagrams Part 1
28/36
Activity Diagram contd)
Activities and Actions
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
29/36
Activity Diagram contd)
Decisions
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
30/36
Activity Diagram contd)
Merged
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
31/36
Activity Diagram contd)
Join and Fork
Present parallel actions in activity diagrams.
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
32/36
Figure source:Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introduction to UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
33/36
Exercise
7/23/2019 05a - UML Diagrams Part 1
34/36
Any questio
7/23/2019 05a - UML Diagrams Part 1
35/36
References
Russ Miles, Kim Hamilton. Learning UML 2.0: A Pragmatic Introdu
UML. 2006. OReilly.
7/23/2019 05a - UML Diagrams Part 1
36/36
See u next class