Professional Documents
Culture Documents
[Year]
OOM
Page 1
TABLE OF CONTENTS Actor Identifications..............................................................4 Tuition Manager..................................................................4 Student...............................................................................4 Database System................................................................4 System Use Case Identification..........................................5 Login Use case........................................................................6 Real System.....................................................................7 Use Case Specifications......................................................7 Main Success Scenario........................................................8 Alternative sequence..........................................................8 Tution manager Sequence Diagram..................................9 Start Chart Diagram (LOGIN)..............................................9 Class Diagram (Tution Manager)......................................10 Student registration Use case..........................................10 Real System...................................................................11 Use Case Specification......................................................11 Sequence Diagram...........................................................12 State Chart Diagram.........................................................13 Class Diagram..................................................................13 Subject registration Use case...........................................13 Real System...................................................................14 Use Case Specification......................................................14 Sequence Diagram...........................................................15 State Chart Diagram.........................................................15 Tuition payment statement generation Use case........16 Real System...................................................................18
OOM Page 2
OOM
Page 3
ACTOR IDENTIFICATIONS TUITION MANAGER Tuition Manager is an Actor which boundary of the system and interacts with the system and even benefits from the system as well. Thats the reason the Tuition manager is an actor. STUDENT Student is another actor which benefits from the system but does not interact with the system. Student has been identified as an actor because without the student the system is unable to work. DATABASE SYSTEM Database system is a secondary actor because it is not human and it does interact with the system but not does not benefits from the system.
OOM
Page 4
As there are number of differences in the use cases it is an appropriate step to split the above use case sequentially to make understandings of the developers. The following above figure illustrates the sequential division of the use cases. In the following diagram the login use case is included because it is handled by the primary actor Tuition manager, and the registering the Student and subject are part of the system use case because they are having a main success scenario respectively.
OOM
Page 5
Once we are able to have identified the system use cases there is a need to describe each use case with the use case specifications. Following are the use case specifications and the sequence diagrams for each use case identified.
OOM
Page 6
Summary: This Use case starts when the Tuition Manager switches on the system and tries to access the tuition Payment Statement generator system Actors: Tuition manager(Primary), Database System(Secondary) Creation Date: May 15, 2011 Update Date: May 15, 2011 Version: 1.0 Persons In charge: salman, qadar
OOM Page 7
OOM
Page 9
Initially the system stays idle in standby state when the application is started then the Tuition Manager enters the username and password in the text boxes provided the system will be waiting for the user to click the submit button. Then the system sends the details to the database system to verify the login credentials, if the login credentials are invalid then the system sends the user a message that the login failed and try again. Then the user enters the login credentials again for the second time, again the system if the login credentials are valid the system sends the user a message Login Successful if not system asks the user to login again. If the login fails for the third time then the system sends the user that Login failed and exits the application.
The each indivisual Tuition Manager has one indivisual login details and the login entity depends on the Tuition Manager entity. If the
OOM
Page 10
This use case defines that the Tuition manager is registering a new student for a subject
REAL SYSTEM
OOM
Page 11
USE CASE SPECIFICATION Title: Register Student Type: Detailed Real case
Summary: This use case starts when a student approaches the Tuition manager to register for a course Actors: Tuition manager(Primary), Student(Secondary) Creation Date: May 15, 2011 Update Date: May 15, 2011 Version: 1.0 Persons In charge: salman, qadar Flow of Events Predictions: Assuming that student is registering for the first time
OOM Page 12
submit button.
database system. 4. Database system will reply to system that the data saved.
5. System will display the message to the tuition manager that the entry saved. As the tuition manager is registering a new student and is not saved in the database whatever the name the tuition manager gives the system accepts. This is the reason there are no alternative sequences or error sequences. SEQUENCE DIAGRAM
OOM
Page 13
The above diagram shows that when a student comes to the tuition manager to register the Tuition manager starts the process by selecting the Register student option in the system then enters the student name and clicks submit button then the system sends the data to the database and the database replies the system that the data has been saved the system sends a message to the tuition manager that the Entry has been saved. CLASS DIAGRAM
OOM
Page 14
REAL SYSTEM
OOM
Page 15
USE CASE SPECIFICATION Title: Register Subject Type: Detailed Real case
Summary: This use case starts when Tuition Manager registers a new subject in to the system Actors: Tuition manager(Primary), Student(Secondary) Creation Date: May 15, 2011 Update Date: May 15, 2011 Version: 1.0 Persons In charge: salman, qadar Flow of Events Predictions: Assuming that this is the new subject Main Success Scenario
OOM
Page 16
OOM
Page 17
Type: Detailed
Actors: Tuition manager(Primary), Student(Secondary) Creation Date: Update Date: Version: 1.0 Persons In charge: salman, qadar Flow of Events
OOM Page 18
system that student is invalid 5. System will show the message that the student didnt register 6. Tuition manager will enter the student name. 7. Tuition manager will click the submit 8. Tuition payment statement generator will verify the student from the database 9. System will validate the student from the database and will reply the student details. 10.Tuition payment statement generator will generate payment statement.
OOM
Page 19
REAL SYSTEM
OOM
Page 20
SEQUENCE DIAGRAM
OOM
Page 21
OOM
Page 22
Type: Detailed
Summary: This Use case starts when the Tuition manager to registers a student to a subject, the he has to add a record to the database. Actors: Tuition manager(Primary), Student(Secondary) Creation Date: Update Date: Version: 1.0 Persons In charge: Salman, qadar. Flow of Events Predictions: Assuming that Student Is registered MAIN SUCCESS SCENARIO 1. Tuition manager enters the subject name in the text box 2. Tuition manager enters the student name in the text
OOM
Page 23
database to verify whether the student name is registered or not. 4. Database replies to the system that student is invalid 5. System will show the message that the student didnt register 6. Tuition manager will enter the student name 7. System sends message to database to verify whether the student name is registered or not. 8. Data base will send the message that student is valid. 9. Tuition manager will enter the student taught date 10.The system will verify format of the date 11.System will sends the message to tuition manager that the date format is invalid 12.Tuition manager will enter
OOM Page 24
SEQUENCE DIAGRAM
OOM
Page 25
Tuition Manager
Tuition Payment Statement Generator Enter Subject Name Enter Student Name Verify Student Invalid student
Database System
Verify Student Valid student Enter Subject taught Date Verifying date format
Verifying date format Enter Duration Submit Entry Saved Save Data Data saved
Conclusion
OOM
Page 26
Subject registration Use case...........................................13 Real System...................................................................14 Use Case Specification......................................................14 Sequence Diagram...........................................................15 State Chart Diagram.........................................................15 Tuition payment statement generation Use case........16 Real System...................................................................18 Manage Tution Record Real System................................18 Sequence Diagram...........................................................19
OOM Page 28
OOM
Page 29