Slide 1

Slide 1 text

jgs CSE 563 Software Requirements and Specification Lecture 09: Use Case Diagrams Dr. Javier Gonzalez-Sanchez [email protected] javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment

Slide 2

Slide 2 text

jgs Spring 2022 | 00001001 Note

Slide 3

Slide 3 text

jgs Use Case Diagram A Graphical Notation

Slide 4

Slide 4 text

jgs Spring 2022 | 00001001 UML Diagrams

Slide 5

Slide 5 text

jgs Spring 2022 | 00001001 Diagram a) Actors b) Use Cases a) Relationships child father base addition extension base << include >> << extend >>

Slide 6

Slide 6 text

jgs Spring 2022 | 00001001 Diagram | Example Nurse Medical receptionist Manager Register patient View personal info. View record Generate report Export statistics Doctor Edit record Setup consultation

Slide 7

Slide 7 text

jgs Spring 2022 | 00001001 Ideas for secondary actor Nurse Medical receptionist Manager Register patient View personal info. View record Generate report Export statistics Doctor Edit record Setup consultation

Slide 8

Slide 8 text

jgs Spring 2022 | 00001001 Inclusion § Show that behavior of the included use case (addition) is inserted into the behavior of the including (base) use case. § A dashed line with an open arrowhead directed from the including use case (base) to the included (addition) use case. The arrow is labeled with the keyword «include». § The include relationship is used to (1) simplify large use case by splitting it into several use cases, (2) extract common parts of the behaviors of two or more use cases. base addition

Slide 9

Slide 9 text

jgs Spring 2022 | 00001001 Inclusion base addition

Slide 10

Slide 10 text

jgs Spring 2022 | 00001001 Example

Slide 11

Slide 11 text

jgs Spring 2022 | 00001001 Extension § Extending use case defines optional behavior that is not necessarily meaningful by itself. § Extend relationship is shown as a dashed line with an open arrowhead directed from the extending use case to the extended (base) use case. The arrow is labeled with the keyword «extend». base extension

Slide 12

Slide 12 text

jgs Spring 2022 | 00001001 Inclusion extension base

Slide 13

Slide 13 text

jgs Spring 2022 | 00001001 Example

Slide 14

Slide 14 text

jgs Spring 2022 | 00001001 What about this?

Slide 15

Slide 15 text

jgs Spring 2022 | 00001001 What about this?

Slide 16

Slide 16 text

jgs Spring 2022 | 00001001 Include vs Extends

Slide 17

Slide 17 text

jgs Examples Use Case Diagrams

Slide 18

Slide 18 text

jgs Spring 2022 | 00001001 Example

Slide 19

Slide 19 text

jgs Spring 2022 | 00001001 Example

Slide 20

Slide 20 text

jgs Spring 2022 | 00001001 Example

Slide 21

Slide 21 text

jgs Spring 2022 | 00001001 Example

Slide 22

Slide 22 text

jgs Spring 2022 | 00001001 Example http://epf.eclipse.org/wikis/openup/core.tech.common.extend_supp/guidances/examples/uc_model_elaboration_phase_70035F60.html

Slide 23

Slide 23 text

jgs Spring 2022 | 00001001 Think About This

Slide 24

Slide 24 text

jgs Spring 2022 | 00001001 From a Student’s Homework – Thoughts?

Slide 25

Slide 25 text

jgs Spring 2022 | 00001001 Questions

Slide 26

Slide 26 text

jgs CSE 563 Software Requirements and Specification Javier Gonzalez-Sanchez, Ph.D. [email protected] Fall 2021 Copyright. These slides can only be used as study material for the class CSE563 at ASU. They cannot be distributed or used for another purpose.