Diagrams
Diagrams
The primary purpose of the ERD is to represent data objects and their relationships
53
54
UML DIAGRAMS
The use case diagrams describe system functionality as a set of tasks that the system
must carry out and actors who interact with the system to complete the tasks.
Use Case:
Each use case on the diagram represents a single task that the system
needs to carry out. Buy a Product, Add Client, Make Purchase and
Validate Order Information are all examples of use cases. Some use
cases may include or extend a task represented by another use case.
For example, in order to make a purchase, the order information will
need to be validated.
Actor
An actor is anything outside the system that interacts with the system
to complete a task. It could be a user or another system. The actor
"uses" the use case to complete a task. System Administrator, Credit
Authentication System, Accounting System and Web Client are all
examples of actors. Often, it is useful to look at the set of use cases
that an actor has access to -- this defines the actor's overall role in the
system.
Association:
The association is the link that is drawn between and actor and a use case. It indicates
which actors interact with the system to complete the various tasks.
55
Includes:
Use the includes link to show that one use case includes the task described by another
use case. For example, saving a Visual Case project includes saving the diagrams and
saving the project settings. Sometimes the word "Uses" is used instead of "Includes"
Generalization:
The generalization link is an informal way of showing that one use case is similar to
another use case, but with a little bit of extra functionality. One use case inherits the
functionality represented by another use case and adds some additional behavior to it.
Extends:
The extends link is used to show that one use case extends the task described by another
use case. It's very similar to generalization, but is much more formalized.
The use case that is extended is always referred to as the base use case and has one or
more defined extension points. The extension points show exactly where extending use
cases are allowed to add functionality. The extending use case doesn't have to add
functionality at all of the base use case's extension points. The extension link indicates
which extension points are being used.
56
USECASE DIAGRAMS
Login
Create Courses
University
Admin
Create Colleges
Reports
Logout
57
Use case name Create courses
Participating actors University administration
Flow of Events Administrator creates courses and update
courses
Entry condition Admin enter into the system with his own
id and pass words
Exit condition Success fully creates course
Quality Requirements Successful course creation
58
Usecase diagram for College Admin:
Login
Create Batches
College Admin
Create Departments
Create Faculties
Create Students
Reports
Logout
59
Use case name Create batches
Participating actors College administrator
Flow of Events
College admin creates batches , delete or
update batches
Entry condition College admin enter into the system with
his own id and pass words
Exit condition Successful batch creation
Quality Requirements Batch confliction should not occur
60
Use case name Create faculties
Participating actors College administrator
Flow of Events
College admin creates faculties
Entry condition College admin enters with his id and
password
Exit condition Successful faculty creation
Quality Requirements Faculty creation
61
Usecase diagram for HOD:
Login
Give Marks
Give Attendance
Reports
Logout
62
Use case name assign subjects to faculties
Participating actors College Hod
Flow of Events Hod assigns subject to faculties
Entry condition Hod enters with his collegename and his
username and password
Exit condition After successful assignment
Quality Requirements Assignment of subjects
63
Usecase diagram for Faculty:
Login
Logout
64
Use case name view assigned subjects
Participating actors College faculty
Flow of Events faculty view assigned subjects
Entry condition Faculty enters with his collegename and
his username and password
Exit condition After viewing assigned subjects
Quality Requirements Faculty will view assigned subjects etc
65
Usecase diagram for student:
Login
View Attendance
College
Student
View Marks
Logout
66