SlideShare a Scribd company logo
1 of 31
Download to read offline
Duration: 3 Hrs
1
Ramakant Soni
Assistant Professor
Dept. of Computer Science
B K Birla Institute of Engineering & Technology, Pilani, India
Ramakant Soni @ BKBIET Pilani
Each use case represents a unit of useful functionality that subjects provide to
actors.
An association between an actor and a use case indicates that the actor and the
use case somehow interact or communicate with each other.
Only binary associations are allowed between actors and use cases.
Ramakant Soni @ BKBIET Pilani 2
Only binary associations are allowed between actors and use cases.
An actor could be associated to one or several use cases.
Customer actor is associated with two use cases - Browse Items and Place Order.
A use case may have one or several associated actors.
Manage Account use case is associated with Customer and Bank actors.
Ramakant Soni @ BKBIET Pilani 3
If there are several actors associated to the same use case, it may not be obvious
from use case diagram which actor initiates the use case, i.e. is a "primary
actor". (In non-standard UML, primary actors are those using system services,
and supporting actors are actors providing services to the system.)
UML allows the use of multiplicity at one or both ends of an association between the
actor and the use case.
Multiplicity of a Use Case
When an actor has an association to a use case with a multiplicity that is greater than
one at the use case end, it means that a given actor can be involved in multiple use
cases of that type.
Ramakant Soni @ BKBIET Pilani 4
Bank actor is involved in multiple Transfer Funds use cases.
use case multiplicity could mean that an actor interacts with multiple use cases:
• in parallel (concurrently), or
• at different points in time (overlapping), or
• mutually exclusive (sequentially, random, etc).
Multiplicity of an Actor
Required actor may be explicitly denoted using multiplicity 1 or greater.
Multiplicity 0..1 of actor means that the actor may or may not participate in
any of their associated use cases.
Ramakant Soni @ BKBIET Pilani 5
Checkout use case requires Customer actor, hence the 1 multiplicity of
Customer. The use case may not need Credit Payment Service (for
example, if payment is in cash), thus the 0..1 multiplicity.
Two or more Player actors are involved in the Play Game use case.
Each Player participates in one Play Game.
Ramakant Soni @ BKBIET Pilani 6
Each Player participates in one Play Game.
For instance, multiplicity of actor could mean that interaction of a particular
use case with several separate actor instances might be:
• simultaneous (concurrent) interaction, or
• overlapping interaction, at different points in time, or
• mutually exclusive (sequential, random, etc.) interaction.
Use cases could be organized using following relationships:
• Generalization
• Association
• Extend
• Include
Ramakant Soni @ BKBIET Pilani 7
• Include
Generalization between Use Cases
Generalization between use cases is similar to generalization between classes –
child use case inherits properties and behavior of the parent use case and may
override the behavior of the parent.
Generalization is shown as a solid directed line with a large hollow triangle
arrowhead, the same as for generalization between classifiers, directed from the
more specific use case to the general use case.
Ramakant Soni @ BKBIET Pilani 8
Web User Authentication use case is abstract use case specialized by Login,
Remember Me and Single Sign-On use cases.
Use cases can only be involved in binary associations.
Binary Association
Binary association relates two typed instances. It is normally rendered as a
solid line connecting two classifiers, or a solid line connecting a single
classifier to itself (the two ends are distinct). The line may consist of one or
more connected segments.
Job and Year classifiers are associated
Ramakant Soni @ BKBIET Pilani 9
Job and Year classifiers are associated
Two use cases specifying the same subject cannot be associated since
each of them individually describes a complete usage of the system.
Ramakant Soni @ BKBIET Pilani 10
Example 1:
Airport check-in and security screening business model
Purpose: An example of a business use case diagram for airport check-in
and security screening.
Credits to: http://www.uml-diagrams.org
Ramakant Soni @ BKBIET Pilani 11
and security screening.
Summary: Business use cases are:
 Individual Check-In
 Group Check-In (for groups of tourists)
 Security Screening, etc.
representing business functions or processes taking place in an airport and
serving needs of passengers.
Actors are :
• Passenger,
• Tour Guide,
• Minor (Child),
• Passenger with Special Needs (e.g. with disabilities), all playing external
roles in relation to airport business.
Use cases are :
Ramakant Soni @ BKBIET Pilani 12
• Individual Check-In
• Group Check-In (for groups of tourists),
• Security Screening , etc. - representing business functions or processes
taking place in airport and serving the needs of passengers.
• Baggage Check-in and Baggage Handling <<extend>> Check-In use
cases, because passenger might have no luggage, so baggage
check-in and handling are optional.
Ramakant Soni @ BKBIET Pilani 13
Example 2: Bank ATM
Purpose: Describe use cases that an automated teller machine (ATM)
provides to the bank customers.
Summary:
Customer (actor) uses bank ATM to check balances of his/her bank
accounts, deposit funds, withdraw cash and/or transfer funds (use cases).
ATM Technician provides maintenance and repairs.
Ramakant Soni @ BKBIET Pilani 14
All these use cases also involve Bank actor whether it is related to
customer transactions or to the ATM servicing.
ATM is a banking subsystem that provides bank customers with access to
financial transactions in a public space without the need for a cashier,
clerk or bank teller.
Ramakant Soni @ BKBIET Pilani 15
On most bank ATMs, the customer is authenticated by inserting a plastic
ATM card and entering a personal identification number (PIN). Customer
Authentication use case is required for every ATM transaction so we show it
as include relationship.
Ramakant Soni @ BKBIET Pilani 16
If needed, customer may ask ATM for help. ATM Transaction use case is
<<extended>> via Menu extension point by the ATM Help use case
whenever ATM Transaction is at the location specified by the Menu and
the bank customer requests help, e.g. by selecting Help menu item.
ATM Technician maintains or repairs Bank ATM. Maintenance use case
includes Replenishing ATM with cash, ink or printer paper, Upgrades of
hardware, firmware or software, and remote or on-site Diagnostics.
Diagnostics is also included in (shared with) Repair use case.
Ramakant Soni @ BKBIET Pilani 17
Example 3:
e-Library online public access catalog (OPAC)
Purpose: List top level use cases for e-Library online public access catalog.
An Online Public Access Catalog (OPAC) is an e-Library website which is
part of Integrated Library System (ILS), also known as a Library
Management System (LMS), and managed by a library or group of libraries.
Ramakant Soni @ BKBIET Pilani 18
Summary: Patrons of a library can search library catalog online to locate
various resources - books, periodicals, audio and visual materials, or other
items under control of the library. Patrons may reserve or renew item,
provide feedback, and manage their account.
Ramakant Soni @ BKBIET Pilani 19
Example 3:
Online shopping use case diagrams
Purpose: Provide top level use cases for a web customer making purchases
online.
Summary: Web customer actor uses some web site to make purchases
online.
Ramakant Soni @ BKBIET Pilani 20
online.
Top level use cases are:
•View Items,
•Make Purchase and
•Client Register.
Description:
Web Customer uses some web site to make purchases online. Top level
use cases are View Items, Make Purchase and Client Register.
View Items ( use case) could be used by customer as top level use case if
customer only wants to find and see some products. This use case could
also be used as a part of Make Purchase use case.
Ramakant Soni @ BKBIET Pilani 21
Client Register ( use case) allows customer to register on the web site.
Note, that Checkout use case is <<included>> use case not available by
itself.
checkout is part of make purchase.
Except for the Web Customer actor there are several other actors which
will be described below with detailed use cases.
Ramakant Soni @ BKBIET Pilani 22
View Items use case is extended by several optional use cases - customer
may search for items, browse catalog, view items recommended for
him/her, add items to shopping cart or wish list. All these use cases are
extending use cases because they provide some optional functions
allowing customer to find item.
Ramakant Soni @ BKBIET Pilani 23
Customer Authentication use case is included in View Recommended Items
and Add to Wish List because both require customer to be authenticated.
At the same time, item could be added to the shopping cart without user
authentication.
Checkout use case includes several required uses cases. Web customer
should be authenticated. It could be done through user login page, user
authentication cookie ("Remember me") or Single Sign-On (SSO).
Web site authentication service is used in all these use cases, while SSO also
requires participation of external identity provider.
Checkout use case also includes Payment use case which could be done
either by using credit card and external credit payment service or with
PayPal.
Ramakant Soni @ BKBIET Pilani 24
PayPal.
Ramakant Soni @ BKBIET Pilani 25
Example 4:
Credit card processing system
Purpose: Define major use cases for a credit card processing system (credit
card payment gateway).
Summary: The merchant submits a credit card transaction request to the
credit card payment gateway on behalf of a customer. Bank which issued
Ramakant Soni @ BKBIET Pilani 26
credit card payment gateway on behalf of a customer. Bank which issued
customer's credit card is actor which could approve or reject the
transaction. If transaction is approved, funds will be transferred to
merchant's bank account.
Credit card processing system description
Credit Card Processing System is a system under design or consideration.
Primary actor for the system is a Merchant’s Credit Card Processing System.
The merchant submits some credit card transaction request to the credit
card payment gateway on behalf of a customer. Bank which issued
customer's credit card is actor which could approve or reject the
transaction. If transaction is approved, funds will be transferred to
merchant's bank account.
Ramakant Soni @ BKBIET Pilani 27
Authorize and Capture use case is the most common type of credit card
transaction. The requested amount of money should be first authorized by
Customer's Credit Card Bank, and if approved, is further submitted for
settlement. During the settlement funds approved for the credit card
transaction are deposited into the Merchant's Bank account.
Credit card processing system description
In some cases, only authorization is requested and the transaction will not
be sent for settlement. In this case, usually if no further action is taken within
some number of days, the authorization expires. Merchants can submit this
request if they want to verify the availability of funds on the customer’s
credit card, if item is not currently in stock, or if merchant wants to review
orders before shipping.
Capture (request to capture funds that were previously authorized) use
Ramakant Soni @ BKBIET Pilani 28
Capture (request to capture funds that were previously authorized) use
case describes several scenarios when merchant needs to complete some
previously authorized transaction - either submitted through the payment
gateway or requested without using the system, e.g. using voice
authorization.
Credit card processing system description
Credit use case describes situations when customer should receive a refund
for a transaction that was either successfully processed and settled through
the system or for some transaction that was not originally submitted through
the payment gateway.
Void use case describes cases when it is needed to cancel one or several
related transactions that were not yet settled. If possible, the transactions
will not be sent for settlement. If the Void transaction fails, the original
Ramakant Soni @ BKBIET Pilani 29
will not be sent for settlement. If the Void transaction fails, the original
transaction is likely already settled.
Verify use case describes zero or small amount verification transactions
which could also include verification of some client's data such as address.
Ramakant Soni @ BKBIET Pilani 30
References:
[1] http://www.uml-diagrams.org/
Ramakant Soni @ BKBIET Pilani 31

More Related Content

What's hot

Library and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaLibrary and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaVikas Sharma
 
Library management system
Library management systemLibrary management system
Library management systemImdad Ul Haq
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management SystemSoumili Sen
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemPankaj Kumar
 
Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)Totan Banik
 
Library management system
Library management systemLibrary management system
Library management systemArman Ahmed
 
Library Management System SRS
Library Management System SRSLibrary Management System SRS
Library Management System SRSParas
 
Library management system project
Library management system projectLibrary management system project
Library management system projectAJAY KUMAR
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemAnit Thapaliya
 
Chapter13 designing forms and reports
Chapter13 designing forms and reportsChapter13 designing forms and reports
Chapter13 designing forms and reportsDhani Ahmad
 
online library management system
online library management systemonline library management system
online library management systemVirani Sagar
 
Library Management system requirements
Library Management system requirementsLibrary Management system requirements
Library Management system requirementsAhsan Riaz
 
Library Management System - LMS
Library Management System - LMSLibrary Management System - LMS
Library Management System - LMSHasibul Haque Hira
 
library management system
library management systemlibrary management system
library management systemprabhat kumar
 
Library Management System Project Report
Library Management System Project Report Library Management System Project Report
Library Management System Project Report Abu Kaisar
 
Vision and Scope Document For Library Management System
Vision and Scope Document For Library Management SystemVision and Scope Document For Library Management System
Vision and Scope Document For Library Management SystemSoman Sarim
 
Library management sytem
Library management sytemLibrary management sytem
Library management sytemashu6
 

What's hot (20)

11.online library management system
11.online library management system11.online library management system
11.online library management system
 
Library and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharmaLibrary and member management system (lamms) by vikas sharma
Library and member management system (lamms) by vikas sharma
 
Library management system
Library management systemLibrary management system
Library management system
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management System
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)Software Development Methodologies Library Management System (Part-1)
Software Development Methodologies Library Management System (Part-1)
 
Library management system
Library management systemLibrary management system
Library management system
 
Library Management System SRS
Library Management System SRSLibrary Management System SRS
Library Management System SRS
 
Library management system project
Library management system projectLibrary management system project
Library management system project
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Chapter13 designing forms and reports
Chapter13 designing forms and reportsChapter13 designing forms and reports
Chapter13 designing forms and reports
 
Software requirement specification(SRS)
Software requirement specification(SRS)Software requirement specification(SRS)
Software requirement specification(SRS)
 
online library management system
online library management systemonline library management system
online library management system
 
Library Management system requirements
Library Management system requirementsLibrary Management system requirements
Library Management system requirements
 
Library Management System - LMS
Library Management System - LMSLibrary Management System - LMS
Library Management System - LMS
 
library management system
library management systemlibrary management system
library management system
 
Library Management System Project Report
Library Management System Project Report Library Management System Project Report
Library Management System Project Report
 
Vision and Scope Document For Library Management System
Vision and Scope Document For Library Management SystemVision and Scope Document For Library Management System
Vision and Scope Document For Library Management System
 
Library management sytem
Library management sytemLibrary management sytem
Library management sytem
 

Viewers also liked

Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation Smit Patel
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.docjimmykhan
 
Library management system
Library management systemLibrary management system
Library management systemRaaghav Bhatia
 
Library Management System
Library Management SystemLibrary Management System
Library Management SystemAditya Shah
 

Viewers also liked (6)

Library management system presentation
Library management system presentation Library management system presentation
Library management system presentation
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library mangement system project srs documentation.doc
Library mangement system project srs documentation.docLibrary mangement system project srs documentation.doc
Library mangement system project srs documentation.doc
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 
Library management system
Library management systemLibrary management system
Library management system
 
Library Management System
Library Management SystemLibrary Management System
Library Management System
 

Similar to Use Case diagram-UML diagram-2

IRJET- Whistle Blower Protection using Block Chain
IRJET- Whistle Blower Protection using Block ChainIRJET- Whistle Blower Protection using Block Chain
IRJET- Whistle Blower Protection using Block ChainIRJET Journal
 
IRJET - Analysis & Study of E-Procurement System in Current Scenario
IRJET -  	  Analysis & Study of E-Procurement System in Current ScenarioIRJET -  	  Analysis & Study of E-Procurement System in Current Scenario
IRJET - Analysis & Study of E-Procurement System in Current ScenarioIRJET Journal
 
EliPay BP - 2019
EliPay BP - 2019EliPay BP - 2019
EliPay BP - 2019Jack Huang
 
apidays LIVE India - The future of financial services is invisible by Bharat ...
apidays LIVE India - The future of financial services is invisible by Bharat ...apidays LIVE India - The future of financial services is invisible by Bharat ...
apidays LIVE India - The future of financial services is invisible by Bharat ...apidays
 
The future of life
The future of lifeThe future of life
The future of lifeMANJEETMAURY
 
bitcoin - Google Docs.pdf
bitcoin - Google Docs.pdfbitcoin - Google Docs.pdf
bitcoin - Google Docs.pdfharikacheluru
 
Bank management system
Bank management systemBank management system
Bank management systemsumanadas37
 
IRJET- Intelligent Cart
IRJET-  	  Intelligent CartIRJET-  	  Intelligent Cart
IRJET- Intelligent CartIRJET Journal
 
A Complete Model of the Payment Service Business
A Complete Model of the Payment Service BusinessA Complete Model of the Payment Service Business
A Complete Model of the Payment Service BusinessFrank Steeneken
 
Flipkart Software Requirements Specification (SRS)
Flipkart Software Requirements Specification (SRS)Flipkart Software Requirements Specification (SRS)
Flipkart Software Requirements Specification (SRS)Aman Goel
 
Flipkart Software requirements specification SRS
Flipkart Software requirements specification SRSFlipkart Software requirements specification SRS
Flipkart Software requirements specification SRSAman Goel
 
Software Engineering Testing & Research
Software Engineering Testing & Research Software Engineering Testing & Research
Software Engineering Testing & Research Vrushali Lanjewar
 
MULTI-BANK SYSTEM
MULTI-BANK SYSTEMMULTI-BANK SYSTEM
MULTI-BANK SYSTEMIJARIIT
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesAmr E. Mohamed
 
Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...
Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...
Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...Techwave Consulting
 
apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...
apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...
apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...apidays
 
Participant Portal - Paperless Grant Management | presentation 1/4
Participant Portal - Paperless Grant Management | presentation 1/4Participant Portal - Paperless Grant Management | presentation 1/4
Participant Portal - Paperless Grant Management | presentation 1/4ISERD Israel
 
IRJET- Food Supply Chain Management using Blockchain
IRJET- Food Supply Chain Management using BlockchainIRJET- Food Supply Chain Management using Blockchain
IRJET- Food Supply Chain Management using BlockchainIRJET Journal
 

Similar to Use Case diagram-UML diagram-2 (20)

IRJET- Whistle Blower Protection using Block Chain
IRJET- Whistle Blower Protection using Block ChainIRJET- Whistle Blower Protection using Block Chain
IRJET- Whistle Blower Protection using Block Chain
 
Initial reportfinal
Initial reportfinalInitial reportfinal
Initial reportfinal
 
IRJET - Analysis & Study of E-Procurement System in Current Scenario
IRJET -  	  Analysis & Study of E-Procurement System in Current ScenarioIRJET -  	  Analysis & Study of E-Procurement System in Current Scenario
IRJET - Analysis & Study of E-Procurement System in Current Scenario
 
Jar chapter 3
Jar chapter 3Jar chapter 3
Jar chapter 3
 
EliPay BP - 2019
EliPay BP - 2019EliPay BP - 2019
EliPay BP - 2019
 
apidays LIVE India - The future of financial services is invisible by Bharat ...
apidays LIVE India - The future of financial services is invisible by Bharat ...apidays LIVE India - The future of financial services is invisible by Bharat ...
apidays LIVE India - The future of financial services is invisible by Bharat ...
 
The future of life
The future of lifeThe future of life
The future of life
 
bitcoin - Google Docs.pdf
bitcoin - Google Docs.pdfbitcoin - Google Docs.pdf
bitcoin - Google Docs.pdf
 
Bank management system
Bank management systemBank management system
Bank management system
 
IRJET- Intelligent Cart
IRJET-  	  Intelligent CartIRJET-  	  Intelligent Cart
IRJET- Intelligent Cart
 
A Complete Model of the Payment Service Business
A Complete Model of the Payment Service BusinessA Complete Model of the Payment Service Business
A Complete Model of the Payment Service Business
 
Flipkart Software Requirements Specification (SRS)
Flipkart Software Requirements Specification (SRS)Flipkart Software Requirements Specification (SRS)
Flipkart Software Requirements Specification (SRS)
 
Flipkart Software requirements specification SRS
Flipkart Software requirements specification SRSFlipkart Software requirements specification SRS
Flipkart Software requirements specification SRS
 
Software Engineering Testing & Research
Software Engineering Testing & Research Software Engineering Testing & Research
Software Engineering Testing & Research
 
MULTI-BANK SYSTEM
MULTI-BANK SYSTEMMULTI-BANK SYSTEM
MULTI-BANK SYSTEM
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
 
Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...
Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...
Navigating-the-API-Ecosystem-Strategies-for-Effective-Management-in-the-Banki...
 
apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...
apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...
apidays LIVE Singapore 2021 - The Future of Financial Services is Invisible b...
 
Participant Portal - Paperless Grant Management | presentation 1/4
Participant Portal - Paperless Grant Management | presentation 1/4Participant Portal - Paperless Grant Management | presentation 1/4
Participant Portal - Paperless Grant Management | presentation 1/4
 
IRJET- Food Supply Chain Management using Blockchain
IRJET- Food Supply Chain Management using BlockchainIRJET- Food Supply Chain Management using Blockchain
IRJET- Food Supply Chain Management using Blockchain
 

More from Ramakant Soni

GATE 2021 Exam Information
GATE 2021 Exam InformationGATE 2021 Exam Information
GATE 2021 Exam InformationRamakant Soni
 
What is Algorithm - An Overview
What is Algorithm - An OverviewWhat is Algorithm - An Overview
What is Algorithm - An OverviewRamakant Soni
 
Role of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data WarehouseRole of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data WarehouseRamakant Soni
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLRamakant Soni
 
Huffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysisHuffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysisRamakant Soni
 
UML daigrams for Bank ATM system
UML daigrams for Bank ATM systemUML daigrams for Bank ATM system
UML daigrams for Bank ATM systemRamakant Soni
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Ramakant Soni
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagramRamakant Soni
 
Class diagram- UML diagram
Class diagram- UML diagramClass diagram- UML diagram
Class diagram- UML diagramRamakant Soni
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionRamakant Soni
 

More from Ramakant Soni (11)

GATE 2021 Exam Information
GATE 2021 Exam InformationGATE 2021 Exam Information
GATE 2021 Exam Information
 
What is Algorithm - An Overview
What is Algorithm - An OverviewWhat is Algorithm - An Overview
What is Algorithm - An Overview
 
Role of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data WarehouseRole of Data Cleaning in Data Warehouse
Role of Data Cleaning in Data Warehouse
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
Huffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysisHuffman and Arithmetic coding - Performance analysis
Huffman and Arithmetic coding - Performance analysis
 
UML daigrams for Bank ATM system
UML daigrams for Bank ATM systemUML daigrams for Bank ATM system
UML daigrams for Bank ATM system
 
Collaboration diagram- UML diagram
Collaboration diagram- UML diagram Collaboration diagram- UML diagram
Collaboration diagram- UML diagram
 
Sequence diagram- UML diagram
Sequence diagram- UML diagramSequence diagram- UML diagram
Sequence diagram- UML diagram
 
Class diagram- UML diagram
Class diagram- UML diagramClass diagram- UML diagram
Class diagram- UML diagram
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language Introduction
 

Recently uploaded

Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 

Recently uploaded (20)

Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 

Use Case diagram-UML diagram-2

  • 1. Duration: 3 Hrs 1 Ramakant Soni Assistant Professor Dept. of Computer Science B K Birla Institute of Engineering & Technology, Pilani, India Ramakant Soni @ BKBIET Pilani
  • 2. Each use case represents a unit of useful functionality that subjects provide to actors. An association between an actor and a use case indicates that the actor and the use case somehow interact or communicate with each other. Only binary associations are allowed between actors and use cases. Ramakant Soni @ BKBIET Pilani 2 Only binary associations are allowed between actors and use cases. An actor could be associated to one or several use cases. Customer actor is associated with two use cases - Browse Items and Place Order.
  • 3. A use case may have one or several associated actors. Manage Account use case is associated with Customer and Bank actors. Ramakant Soni @ BKBIET Pilani 3 If there are several actors associated to the same use case, it may not be obvious from use case diagram which actor initiates the use case, i.e. is a "primary actor". (In non-standard UML, primary actors are those using system services, and supporting actors are actors providing services to the system.)
  • 4. UML allows the use of multiplicity at one or both ends of an association between the actor and the use case. Multiplicity of a Use Case When an actor has an association to a use case with a multiplicity that is greater than one at the use case end, it means that a given actor can be involved in multiple use cases of that type. Ramakant Soni @ BKBIET Pilani 4 Bank actor is involved in multiple Transfer Funds use cases. use case multiplicity could mean that an actor interacts with multiple use cases: • in parallel (concurrently), or • at different points in time (overlapping), or • mutually exclusive (sequentially, random, etc).
  • 5. Multiplicity of an Actor Required actor may be explicitly denoted using multiplicity 1 or greater. Multiplicity 0..1 of actor means that the actor may or may not participate in any of their associated use cases. Ramakant Soni @ BKBIET Pilani 5 Checkout use case requires Customer actor, hence the 1 multiplicity of Customer. The use case may not need Credit Payment Service (for example, if payment is in cash), thus the 0..1 multiplicity.
  • 6. Two or more Player actors are involved in the Play Game use case. Each Player participates in one Play Game. Ramakant Soni @ BKBIET Pilani 6 Each Player participates in one Play Game. For instance, multiplicity of actor could mean that interaction of a particular use case with several separate actor instances might be: • simultaneous (concurrent) interaction, or • overlapping interaction, at different points in time, or • mutually exclusive (sequential, random, etc.) interaction.
  • 7. Use cases could be organized using following relationships: • Generalization • Association • Extend • Include Ramakant Soni @ BKBIET Pilani 7 • Include
  • 8. Generalization between Use Cases Generalization between use cases is similar to generalization between classes – child use case inherits properties and behavior of the parent use case and may override the behavior of the parent. Generalization is shown as a solid directed line with a large hollow triangle arrowhead, the same as for generalization between classifiers, directed from the more specific use case to the general use case. Ramakant Soni @ BKBIET Pilani 8 Web User Authentication use case is abstract use case specialized by Login, Remember Me and Single Sign-On use cases.
  • 9. Use cases can only be involved in binary associations. Binary Association Binary association relates two typed instances. It is normally rendered as a solid line connecting two classifiers, or a solid line connecting a single classifier to itself (the two ends are distinct). The line may consist of one or more connected segments. Job and Year classifiers are associated Ramakant Soni @ BKBIET Pilani 9 Job and Year classifiers are associated Two use cases specifying the same subject cannot be associated since each of them individually describes a complete usage of the system.
  • 10. Ramakant Soni @ BKBIET Pilani 10
  • 11. Example 1: Airport check-in and security screening business model Purpose: An example of a business use case diagram for airport check-in and security screening. Credits to: http://www.uml-diagrams.org Ramakant Soni @ BKBIET Pilani 11 and security screening. Summary: Business use cases are:  Individual Check-In  Group Check-In (for groups of tourists)  Security Screening, etc. representing business functions or processes taking place in an airport and serving needs of passengers.
  • 12. Actors are : • Passenger, • Tour Guide, • Minor (Child), • Passenger with Special Needs (e.g. with disabilities), all playing external roles in relation to airport business. Use cases are : Ramakant Soni @ BKBIET Pilani 12 • Individual Check-In • Group Check-In (for groups of tourists), • Security Screening , etc. - representing business functions or processes taking place in airport and serving the needs of passengers. • Baggage Check-in and Baggage Handling <<extend>> Check-In use cases, because passenger might have no luggage, so baggage check-in and handling are optional.
  • 13. Ramakant Soni @ BKBIET Pilani 13
  • 14. Example 2: Bank ATM Purpose: Describe use cases that an automated teller machine (ATM) provides to the bank customers. Summary: Customer (actor) uses bank ATM to check balances of his/her bank accounts, deposit funds, withdraw cash and/or transfer funds (use cases). ATM Technician provides maintenance and repairs. Ramakant Soni @ BKBIET Pilani 14 All these use cases also involve Bank actor whether it is related to customer transactions or to the ATM servicing. ATM is a banking subsystem that provides bank customers with access to financial transactions in a public space without the need for a cashier, clerk or bank teller.
  • 15. Ramakant Soni @ BKBIET Pilani 15
  • 16. On most bank ATMs, the customer is authenticated by inserting a plastic ATM card and entering a personal identification number (PIN). Customer Authentication use case is required for every ATM transaction so we show it as include relationship. Ramakant Soni @ BKBIET Pilani 16 If needed, customer may ask ATM for help. ATM Transaction use case is <<extended>> via Menu extension point by the ATM Help use case whenever ATM Transaction is at the location specified by the Menu and the bank customer requests help, e.g. by selecting Help menu item.
  • 17. ATM Technician maintains or repairs Bank ATM. Maintenance use case includes Replenishing ATM with cash, ink or printer paper, Upgrades of hardware, firmware or software, and remote or on-site Diagnostics. Diagnostics is also included in (shared with) Repair use case. Ramakant Soni @ BKBIET Pilani 17
  • 18. Example 3: e-Library online public access catalog (OPAC) Purpose: List top level use cases for e-Library online public access catalog. An Online Public Access Catalog (OPAC) is an e-Library website which is part of Integrated Library System (ILS), also known as a Library Management System (LMS), and managed by a library or group of libraries. Ramakant Soni @ BKBIET Pilani 18 Summary: Patrons of a library can search library catalog online to locate various resources - books, periodicals, audio and visual materials, or other items under control of the library. Patrons may reserve or renew item, provide feedback, and manage their account.
  • 19. Ramakant Soni @ BKBIET Pilani 19
  • 20. Example 3: Online shopping use case diagrams Purpose: Provide top level use cases for a web customer making purchases online. Summary: Web customer actor uses some web site to make purchases online. Ramakant Soni @ BKBIET Pilani 20 online. Top level use cases are: •View Items, •Make Purchase and •Client Register.
  • 21. Description: Web Customer uses some web site to make purchases online. Top level use cases are View Items, Make Purchase and Client Register. View Items ( use case) could be used by customer as top level use case if customer only wants to find and see some products. This use case could also be used as a part of Make Purchase use case. Ramakant Soni @ BKBIET Pilani 21 Client Register ( use case) allows customer to register on the web site. Note, that Checkout use case is <<included>> use case not available by itself. checkout is part of make purchase. Except for the Web Customer actor there are several other actors which will be described below with detailed use cases.
  • 22. Ramakant Soni @ BKBIET Pilani 22
  • 23. View Items use case is extended by several optional use cases - customer may search for items, browse catalog, view items recommended for him/her, add items to shopping cart or wish list. All these use cases are extending use cases because they provide some optional functions allowing customer to find item. Ramakant Soni @ BKBIET Pilani 23 Customer Authentication use case is included in View Recommended Items and Add to Wish List because both require customer to be authenticated. At the same time, item could be added to the shopping cart without user authentication.
  • 24. Checkout use case includes several required uses cases. Web customer should be authenticated. It could be done through user login page, user authentication cookie ("Remember me") or Single Sign-On (SSO). Web site authentication service is used in all these use cases, while SSO also requires participation of external identity provider. Checkout use case also includes Payment use case which could be done either by using credit card and external credit payment service or with PayPal. Ramakant Soni @ BKBIET Pilani 24 PayPal.
  • 25. Ramakant Soni @ BKBIET Pilani 25
  • 26. Example 4: Credit card processing system Purpose: Define major use cases for a credit card processing system (credit card payment gateway). Summary: The merchant submits a credit card transaction request to the credit card payment gateway on behalf of a customer. Bank which issued Ramakant Soni @ BKBIET Pilani 26 credit card payment gateway on behalf of a customer. Bank which issued customer's credit card is actor which could approve or reject the transaction. If transaction is approved, funds will be transferred to merchant's bank account.
  • 27. Credit card processing system description Credit Card Processing System is a system under design or consideration. Primary actor for the system is a Merchant’s Credit Card Processing System. The merchant submits some credit card transaction request to the credit card payment gateway on behalf of a customer. Bank which issued customer's credit card is actor which could approve or reject the transaction. If transaction is approved, funds will be transferred to merchant's bank account. Ramakant Soni @ BKBIET Pilani 27 Authorize and Capture use case is the most common type of credit card transaction. The requested amount of money should be first authorized by Customer's Credit Card Bank, and if approved, is further submitted for settlement. During the settlement funds approved for the credit card transaction are deposited into the Merchant's Bank account.
  • 28. Credit card processing system description In some cases, only authorization is requested and the transaction will not be sent for settlement. In this case, usually if no further action is taken within some number of days, the authorization expires. Merchants can submit this request if they want to verify the availability of funds on the customer’s credit card, if item is not currently in stock, or if merchant wants to review orders before shipping. Capture (request to capture funds that were previously authorized) use Ramakant Soni @ BKBIET Pilani 28 Capture (request to capture funds that were previously authorized) use case describes several scenarios when merchant needs to complete some previously authorized transaction - either submitted through the payment gateway or requested without using the system, e.g. using voice authorization.
  • 29. Credit card processing system description Credit use case describes situations when customer should receive a refund for a transaction that was either successfully processed and settled through the system or for some transaction that was not originally submitted through the payment gateway. Void use case describes cases when it is needed to cancel one or several related transactions that were not yet settled. If possible, the transactions will not be sent for settlement. If the Void transaction fails, the original Ramakant Soni @ BKBIET Pilani 29 will not be sent for settlement. If the Void transaction fails, the original transaction is likely already settled. Verify use case describes zero or small amount verification transactions which could also include verification of some client's data such as address.
  • 30. Ramakant Soni @ BKBIET Pilani 30