SlideShare uma empresa Scribd logo
1 de 23
Use Case Modeling
Kendall & Kendall © 2005 Pearson Prentice Hall 18-2
Commonly Used UML Diagrams
The most commonly used UML diagrams are:
– Use case diagram, describing how the system is
used.
‱ The starting point for UML modeling.
– Use case (not a diagram).
– Activity diagram.
‱ Each use case may create one activity diagram.
Kendall & Kendall © 2005 Pearson Prentice Hall 18-3
Commonly Used UML Diagrams
The most commonly used UML diagrams
(continued):
– Sequence diagram, showing the sequence of
activities and class relationships.
‱ Each use case may create one or more sequence
diagrams.
‱ A collaboration diagram is an alternative to a sequence
diagram.
Kendall & Kendall © 2005 Pearson Prentice Hall 18-4
Commonly Used UML Diagrams
The most commonly used UML diagrams
(continued):
– Class diagram, showing classes and relationships.
‱ Sequence diagrams and CRC cards are used to
determine classes.
– Statechart diagram.
‱ Each class may create a statechart diagram, useful for
determining class methods.
Kendall & Kendall © 2005 Pearson Prentice Hall 18-5
Overview of UML Diagrams
Use Cases
‱ Depiction of a system’s behavior or
functionality under various conditions as the
system responds to requests from users
‱ Full functioning for a specific business purpose
Kendall & Kendall © 2005 Pearson Prentice Hall 18-7
Use Case Diagram
‱ A use (yoos) case describes what the system does,
not how it does the work.
‱ The use case model reflects the view of the system of
the user outside of the system.
‱ Symbols are:
– Actor, a stick figure.
– Use case, an oval.
– Connecting lines.
UML Use Case Diagram Symbols
Use Case
Actor
Boundary
Connection
Include relationship
Extend relationship
<<include>>
<<extend>>
Kendall & Kendall © 2005 Pearson Prentice Hall 18-9
Actors
‱ Represent role played by one or more users
‱ Exist outside of the system
‱ May be a person, another system, a device, such as a
keyboard or Web connection
‱ Can initiate an instance of a use case
‱ May interact with one or more use cases and a use
case may involve one or more actors
Kendall & Kendall © 2005 Pearson Prentice Hall 18-10
Actors (Continued)
‱ Actors may be divided into two groups:
‱ Primary actors supply data or receive
information from the system
‱ Secondary actors help to keep the system
running or provide help
– Help desk, analysts, programmers, etc.
What is a Boundary?
‱ A boundary is the dividing line between the
system and its environment.
‱ Use cases are within the boundary.
‱ Actors are outside of the boundary.
Kendall & Kendall © 2005 Pearson Prentice Hall 18-12
Use Case
‱ Consists of three things:
– An actor (user) that initiates an event.
– An event that triggers a use case.
– The use case that performs the actions triggered
by the event.
Kendall & Kendall © 2005 Pearson Prentice Hall 18-13
Use Case (Continued)
‱ Better to create fewer use cases
‱ 20 use cases for a large system
‱ 50 use cases would be the maximum for a
large system
‱ Can nest use cases, if needed
What is a Connection?
‱ A connection is an association between an
actor and a use case.
‱ Depicts a usage relationship
‱ Connection does not indicate data flow
Kendall & Kendall © 2005 Pearson Prentice Hall 18-15
Use Case Relationships
‱ Communicates
– Connect an actor to a use case
‱ Includes
– Use case contains a behavior that is common to
more than one use case.
– The common use case is included in other use
cases.
– Dotted arrow points toward common use case.
What is an <<include>> Relationship?
‱ A connection between two use cases
‱ Indicates a use case that is used (invoked) by
another use case
‱ Links to general purpose functions, used by
many other use cases
Kendall & Kendall © 2005 Pearson Prentice Hall 18-17
Use Case Relationships (Continued)
‱ Extends
– A different use case handles variations or
exceptions from the basic use case.
– Arrow goes from extended to basic use case.
‱ Generalizes
– One thing is more general than another thing.
– Arrow points to the general thing.
What is an <<extend>> Relationship?
‱ A connection between two use cases
‱ Extends a use case by adding new behavior or
actions
‱ Specialized use case extends the general use
case
Kendall & Kendall © 2005 Pearson Prentice Hall 18-19
Use Case Relationships
Kendall & Kendall © 2005 Pearson Prentice Hall 18-22
Steps for Creating a
Use Case Model
The steps required to create a use case model
are:
– Review the business specifications and identify
the actors within the problem domain.
– Identify the high-level events and develop the
primary use cases that describe the events and
how actors initiate them.
Kendall & Kendall © 2005 Pearson Prentice Hall 18-23
Steps for Creating a
Use Case Model
‱ The steps required to create a use case model
are (continued):
– Review each primary use case to determine
possible variations of flow through the use case.
– Develop the use case documents for all primary
use cases and all important use case scenarios.

Mais conteĂșdo relacionado

Semelhante a 6 Use Case Modeling.pptx

Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling LanguageGiO Friginal
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptxzaaakditte
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagramsFajar Baskoro
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagramsmohamed tahoon
 
From use case to software architecture
From use case to software architectureFrom use case to software architecture
From use case to software architectureAhmad karawash
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfAZKANAAZ1
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
2.1 usecase diagram
2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagramAshenafi Workie
 
05 use case
05 use case05 use case
05 use caseBaskarkncet
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringsnehalkulkarni74
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramKumar
 
Uml
UmlUml
UmlHavi K
 
Use-Case-Diagram.ppt
Use-Case-Diagram.pptUse-Case-Diagram.ppt
Use-Case-Diagram.pptFarHana74914
 
Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsnaveed428
 
RTDesignWithUMLUseCase.ppt
RTDesignWithUMLUseCase.pptRTDesignWithUMLUseCase.ppt
RTDesignWithUMLUseCase.pptShashikanth
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptxNouraBaccar1
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Dr Sukhpal Singh Gill
 

Semelhante a 6 Use Case Modeling.pptx (20)

Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
From use case to software architecture
From use case to software architectureFrom use case to software architecture
From use case to software architecture
 
SE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdfSE_RE-II-CH5 (3).pdf
SE_RE-II-CH5 (3).pdf
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
2.1 usecase diagram
2.1 usecase diagram2.1 usecase diagram
2.1 usecase diagram
 
05 use case
05 use case05 use case
05 use case
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Uml
UmlUml
Uml
 
Use-Case-Diagram.ppt
Use-Case-Diagram.pptUse-Case-Diagram.ppt
Use-Case-Diagram.ppt
 
Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagrams
 
RTDesignWithUMLUseCase.ppt
RTDesignWithUMLUseCase.pptRTDesignWithUMLUseCase.ppt
RTDesignWithUMLUseCase.ppt
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
 
Ch07
Ch07Ch07
Ch07
 
Ch07
Ch07Ch07
Ch07
 

Mais de NALESVPMEngg

a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...NALESVPMEngg
 
Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...NALESVPMEngg
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...NALESVPMEngg
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...NALESVPMEngg
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...NALESVPMEngg
 
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...NALESVPMEngg
 
Wk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptxWk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptxNALESVPMEngg
 
TutorialUML.pptx
TutorialUML.pptxTutorialUML.pptx
TutorialUML.pptxNALESVPMEngg
 
Introduction To Data Structures.ppt
Introduction To Data Structures.pptIntroduction To Data Structures.ppt
Introduction To Data Structures.pptNALESVPMEngg
 
Introduction To Algorithms.ppt
Introduction To Algorithms.pptIntroduction To Algorithms.ppt
Introduction To Algorithms.pptNALESVPMEngg
 

Mais de NALESVPMEngg (13)

a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...a simple idealized machine used to recognize patterns within input taken from...
a simple idealized machine used to recognize patterns within input taken from...
 
Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...Stemming is one of several text normalization techniques that converts raw te...
Stemming is one of several text normalization techniques that converts raw te...
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...
 
Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...Information retrieval is the process of accessing data resources. Usually doc...
Information retrieval is the process of accessing data resources. Usually doc...
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
 
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
Class diagrams are a type of UML (Unified Modeling Language) diagram used in ...
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...
 
Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...Activity diagrams show the flow of one activity to another within a system or...
Activity diagrams show the flow of one activity to another within a system or...
 
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
Introduction to Csharp (C-Sharp) is a programming language developed by Micro...
 
Wk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptxWk5_UML_ActivityDiagram.pptx
Wk5_UML_ActivityDiagram.pptx
 
TutorialUML.pptx
TutorialUML.pptxTutorialUML.pptx
TutorialUML.pptx
 
Introduction To Data Structures.ppt
Introduction To Data Structures.pptIntroduction To Data Structures.ppt
Introduction To Data Structures.ppt
 
Introduction To Algorithms.ppt
Introduction To Algorithms.pptIntroduction To Algorithms.ppt
Introduction To Algorithms.ppt
 

Último

Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerAnamika Sarkar
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Gurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort service
Gurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort serviceGurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort service
Gurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
TechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 

Último (20)

young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned ï»żTube Exchanger
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Gurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort service
Gurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort serviceGurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort service
Gurgaon âœĄïž9711147426✹Call In girls Gurgaon Sector 51 escort service
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
TechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTACÂź CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 

6 Use Case Modeling.pptx

  • 2. Kendall & Kendall © 2005 Pearson Prentice Hall 18-2 Commonly Used UML Diagrams The most commonly used UML diagrams are: – Use case diagram, describing how the system is used. ‱ The starting point for UML modeling. – Use case (not a diagram). – Activity diagram. ‱ Each use case may create one activity diagram.
  • 3. Kendall & Kendall © 2005 Pearson Prentice Hall 18-3 Commonly Used UML Diagrams The most commonly used UML diagrams (continued): – Sequence diagram, showing the sequence of activities and class relationships. ‱ Each use case may create one or more sequence diagrams. ‱ A collaboration diagram is an alternative to a sequence diagram.
  • 4. Kendall & Kendall © 2005 Pearson Prentice Hall 18-4 Commonly Used UML Diagrams The most commonly used UML diagrams (continued): – Class diagram, showing classes and relationships. ‱ Sequence diagrams and CRC cards are used to determine classes. – Statechart diagram. ‱ Each class may create a statechart diagram, useful for determining class methods.
  • 5. Kendall & Kendall © 2005 Pearson Prentice Hall 18-5 Overview of UML Diagrams
  • 6. Use Cases ‱ Depiction of a system’s behavior or functionality under various conditions as the system responds to requests from users ‱ Full functioning for a specific business purpose
  • 7. Kendall & Kendall © 2005 Pearson Prentice Hall 18-7 Use Case Diagram ‱ A use (yoos) case describes what the system does, not how it does the work. ‱ The use case model reflects the view of the system of the user outside of the system. ‱ Symbols are: – Actor, a stick figure. – Use case, an oval. – Connecting lines.
  • 8. UML Use Case Diagram Symbols Use Case Actor Boundary Connection Include relationship Extend relationship <<include>> <<extend>>
  • 9. Kendall & Kendall © 2005 Pearson Prentice Hall 18-9 Actors ‱ Represent role played by one or more users ‱ Exist outside of the system ‱ May be a person, another system, a device, such as a keyboard or Web connection ‱ Can initiate an instance of a use case ‱ May interact with one or more use cases and a use case may involve one or more actors
  • 10. Kendall & Kendall © 2005 Pearson Prentice Hall 18-10 Actors (Continued) ‱ Actors may be divided into two groups: ‱ Primary actors supply data or receive information from the system ‱ Secondary actors help to keep the system running or provide help – Help desk, analysts, programmers, etc.
  • 11. What is a Boundary? ‱ A boundary is the dividing line between the system and its environment. ‱ Use cases are within the boundary. ‱ Actors are outside of the boundary.
  • 12. Kendall & Kendall © 2005 Pearson Prentice Hall 18-12 Use Case ‱ Consists of three things: – An actor (user) that initiates an event. – An event that triggers a use case. – The use case that performs the actions triggered by the event.
  • 13. Kendall & Kendall © 2005 Pearson Prentice Hall 18-13 Use Case (Continued) ‱ Better to create fewer use cases ‱ 20 use cases for a large system ‱ 50 use cases would be the maximum for a large system ‱ Can nest use cases, if needed
  • 14. What is a Connection? ‱ A connection is an association between an actor and a use case. ‱ Depicts a usage relationship ‱ Connection does not indicate data flow
  • 15. Kendall & Kendall © 2005 Pearson Prentice Hall 18-15 Use Case Relationships ‱ Communicates – Connect an actor to a use case ‱ Includes – Use case contains a behavior that is common to more than one use case. – The common use case is included in other use cases. – Dotted arrow points toward common use case.
  • 16. What is an <<include>> Relationship? ‱ A connection between two use cases ‱ Indicates a use case that is used (invoked) by another use case ‱ Links to general purpose functions, used by many other use cases
  • 17. Kendall & Kendall © 2005 Pearson Prentice Hall 18-17 Use Case Relationships (Continued) ‱ Extends – A different use case handles variations or exceptions from the basic use case. – Arrow goes from extended to basic use case. ‱ Generalizes – One thing is more general than another thing. – Arrow points to the general thing.
  • 18. What is an <<extend>> Relationship? ‱ A connection between two use cases ‱ Extends a use case by adding new behavior or actions ‱ Specialized use case extends the general use case
  • 19. Kendall & Kendall © 2005 Pearson Prentice Hall 18-19 Use Case Relationships
  • 20.
  • 21.
  • 22. Kendall & Kendall © 2005 Pearson Prentice Hall 18-22 Steps for Creating a Use Case Model The steps required to create a use case model are: – Review the business specifications and identify the actors within the problem domain. – Identify the high-level events and develop the primary use cases that describe the events and how actors initiate them.
  • 23. Kendall & Kendall © 2005 Pearson Prentice Hall 18-23 Steps for Creating a Use Case Model ‱ The steps required to create a use case model are (continued): – Review each primary use case to determine possible variations of flow through the use case. – Develop the use case documents for all primary use cases and all important use case scenarios.