uml diagrams
TRANSCRIPT
![Page 1: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/1.jpg)
UML Diagrams :
Use Case Diagram
![Page 2: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/2.jpg)
INTRODUCTION : Use Case Diagram is invented by Jacobson.
Specifies the static use case view and functionality of a system.
Useful in modeling the behavior of system.
Used to gather requirements and to get outside view of a system.
Identifies external and internal factors influencing a system.
Shows interaction among actors.
![Page 3: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/3.jpg)
Terms and concepts :1. Actor :
performs functions of a system
Represents role played by a person that interacts with a system.
Responsible for giving input to system .
Uses processed output for performing particular action.
![Page 4: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/4.jpg)
i. Primary Actor : People who performs main system functions.
ii. Secondary Actor : People who performs admin/ maintenance task.
iii. External Hardware : Hardware devices which are part of application.
iv. Other Systems : Other systems with which the system must interact.
![Page 5: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/5.jpg)
2.Use Cases :
Indicates set of functions performed by user.
Describes sequence of actions that the system performs .
Must have unique name(either simple or qualified).
Represented by “Ellipse” .
Symbol -
Place order
![Page 6: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/6.jpg)
3.System Boundary :
Shows how the user interacts with the system.
Class in which use cases are executed.
Represented by use cases within a rectangle and actors will outside of system boundary.
Symbol -
System
Boundary
![Page 7: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/7.jpg)
4. Communication Line :
Used between various components.
It can be association, generalization or dependency.
i. Association :
Relationship between use case and actor.
Represented by solid line(either unidirectional or bi-directional).
Symbol -
![Page 8: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/8.jpg)
ii. Generalization :
Relationship between actors or in between use cases.
Represented by solid line with hollow arrow.
Symbol -
iii. Dependency :
Relationship between uses cases.
Represented by dashed line with arrow.
Symbol -
![Page 9: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/9.jpg)
i. Include Dependency :
Relationship in which use case consist features of another use case.
Shows interaction between base use case and include use case.
Represented by “<<include>>” stereotype.
Symbol -
View balance
Modified account<<include>>
![Page 10: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/10.jpg)
ii. Extend Dependency :
It consist of extension of behavior from one use case to another.
Shows interaction between base use case and extension use case.
Represented by “<<extend>>” stereotype.
Symbol -
Withdraw money
Enter amount
<<extend>>
![Page 11: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/11.jpg)
Example - Use case diagram of Railway Reservation system :-
Student Librarian
Pay money
Request for form
Fill form
Collect ticket
Wait for token
Give form
![Page 12: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/12.jpg)
![Page 13: UML Diagrams](https://reader036.vdocuments.site/reader036/viewer/2022082705/55ba104fbb61eb92158b483f/html5/thumbnails/13.jpg)