29
“-: Software Engineering II :- -:“ Final Documentation:- SUBMMITED TO:-* -:” Sir Yasir Hafeez”:- SUBMMITED BY:-* -:M.Usman Manzoor:- (13-ARID-1165) -:Abu Muhammad Haris:- (13-ARID-1121) -:Shan elhi:-

Hostel Managemnt System

  • Upload
    uaar

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

“-: Software Engineering II :- ”

-:“ Final Documentation:- ”

SUBMMITED TO:-* -:” Sir Yasir Hafeez”:- SUBMMITED BY:-*

-:M.Usman Manzoor:-

(13-ARID-1165) -:Abu Muhammad Haris:-

(13-ARID-1121) -:Shan elhi:-

(13-ARID-1214) -: Muhammad

Fasial:- (13-ARID-1177)

Project Name:- “Hostel Management System”

Brief use caseUse case:get informationActor: AdminDescription: Admin gets all the essential information of students to get them enrolled in hostel.

Admin get information

Fully dresses use case:

Use case name Get Information

Scope Get the essential Information from student wants to take admission in

hostel.Primary actors Admin.

Actor’s goal To get the essential detail of student.

Precondition Student must get the form.

Post condition Student has submitted the form with valid information.

Success scenario Student gets enrolled in hostel.

Extension If all the required information is not fulfilled.

Miscellaneous Admin should handle all the issues.

Extended usecase

Admin invalid information

student enrolled

get information

<<extend>>

<<include>>

Brief use case:

Use case:allocate room.Actor: Admin.Description: Admin allocate room to students, get enrolled in hostel after fulfil the requirements needed by admin.

Admin allocate room

Fully dressed use case:

Use case name Allocate room.

Scope Allocation of room to enrolled student.

Primary actors Admin.

Actor’s goal To get the essential detail of student.

Precondition Student must give valid information to admin.

Post condition Student information is verified.

Success scenario Student gets enrolled in hostel and room is allocated.

Extension If all the required information is not fulfilled.

Miscellaneous Admin should handle all the issues.

Extented Usecase:

Admin

invalid information

verified information

allocate room

<<extend>>

<<include>>

Brief use case:

Use case:manage information.Actor: Db Manager.Description: Db manager manages the information given by student in the database.

Db manager manage information

Fully dressed use case:Use case name Manage information.

Scope Management of info given by students in database.

Primary actors Db manager.

Actor’s goal To manage the information given by student in database.

Precondition Db manager must gets the information from admin.

Post condition Db manager has inserted all the valid information in database of hostel.

Success scenario Information is managed properly by Db manager.

New information is inserted in database for new student enrolled and

updated.Extension If all the required information is not

fulfilled.

Miscellaneous Db manager should handle all the issues related to database.

Extended usecase:

manage informationDb manager

Brief use case:

Use case:update attendance.Actor: Db Manager.Description: Db manager updates the attendance of students present in the hostel on daily basis.

Db Manager update attendance

Fully dressed use case:

Use case name Update attendance.

Scope Update attendance of students on daily basis.

Primary actors Db manager.

Actor’s goal Updating of attendance on daily basis

Precondition All the students information enrolled in hostel must be entered in database.

Post condition Database system must work properly.

Success scenario Student attendance is updated successfully.

Extension If all thestudent enrolled are not entered in database.

Miscellaneous Db manager handles all the issues related to database.

Extended Usecase:

Db manager

enrollement properly

update attendance <<include>>

enrollement error

<<extend>>

Brief use case:

Use case:manage mess.Actor: Clerk.Description: Clerk manage the mess system after getting attendance list from Db Manager.

Clerk manage mess

Fully dressed use case:Use case name Manage mess.

Scope Manage the mess for students present

in hostel.Primary actors Clerk.

Actor’s goal Manage the mess for students present in hostel.

Precondition Clerk should get the attendance list of students present in hostel.

Post condition Get the report when food is ready.

Success scenario Manage the mess system successfully.

Extension If clerk do not gets the attendance list of students.

Miscellaneous Clerk handles all the issues related to mess.

Extended Usecase:-

Clerk manage mess

unavailable attendance list

<<extend>>

System-Level diagram

invalid information

verified information

allocate room

<<extend>>

<<include>>

student enrolled

get information

<<include>>

invalid information

<<extend>>

enrollement properly

update attendance <<include>>

enrollement error

<<extend>>

manage messunavailable attendance list

<<extend>>

manage information

admin

Db manager

cook

System Domain Model:

1 1..*Adminidname

1

1..*

student infostd_idnameaddress

get()

1..*

1

1

1..*

attendencestd_idname

1 1 clerkclerk_idname

get attan()

messfood_namefood_price

Man()

1

1

Db managerDB_idname

manage()

update()

roomroom_nostd_idname

allocate()

update rm()1..* 1

Over All Sequence Diagram:

student Administrator DB manager

give details

enter student details

update

enter mess item & expenditure details

update

calulate(total messexpenditure)

enter attendance details

update

request for mess bill expenditure

calculate(total mess item expenditure/total no of student

mess fee detailspublish

pay the fees enter the payment details

update

Sequence Digrams:-1-

2-

3-

Class Diagram:

*

*

Adminid = integername = string

new_admission()get_info()sreach_room()

Databaseadmin id = integeradmin password = stringdb_manager_id = integerdb_manaer_password = stringroom_no = integer

requesting_bill()record_update()

DB Managerid = integername = string

check_availbility()enter_record()enter_attendance_record()get_bill_info()

1

1

1

1

by takenis taking

* by taken 1

is taking

clerkid = integername = string

requesting_bill()

Studentstd id = integerstd name = stringaddress = string

get_info()new_admission()

1 is taking 1

Reprt generatorstd id = intstd name = char

bill_generate()bill_display()

allocate roomstd id = introom_no = int

allocate_room()room_check()

Roomroom_no

room_list()

Messstd id = intmess_card_no = int

mess_bill_request()mess_bill_report()

bed=string

Collaboration Diagrams:-Get_Info():

Admin :info

:Student

1: New_admission()

2: Get_info()3: Get information

4: Student registered

Allocating_room():

Admin :dbmanger

:room

2: Availability()3: free rooms

:student

1: search_room()

4: Display list

5: Allocate_room()

Manage_records():

Dbmanager :database1: enter_record(st id,st name, room no)

2: Record updated

Update_attendance():

Dbmanager :database1: enter_attendance()

2: Attendance updated

Bill_generating():

Clerk :dbmanager1: requesting_bill()

:database

2: view_record()3: send information

4: Bill generated

Activity diagrams

1.Get information:

get info

add delet view

update

display info

stop

start

2.Attandance update:

enter rollno

enter the attandance

update details

stop

invaild

vaild

absentpresent

start

3.Room details:

room details

request room availability

enter room noenter room

datails

request room details

display room availability

check room availabilityupdate details

view room deatils

exit

stop

start

4.Mess details:

enter payment details

enter mess item details

update detailsupdate

calulate mess bill expenditure per day

calculate mess bill expenditure per month

display mess expenditure per day

display mess expenditure per month

generate mess bill & payment report

start

stop

State chart diagrams

1.Get information:

checking processing update details

waiting missing datails obtainted

update information

details missing

details obtainted

all details connect

start

info details

details varifyupdated

display infor

displayed

stop

2.Attendance details:

enter attendance details

update details

waiting

some details are missing

get details

details entered

start

all details are connected

stop

3,Room details:

checking process update details

waiting missing details obtained

some details are missing

details obtainted

all details connect

start

details varified

view details

room details

stop

update

4.Mess details:

checking processing update details

waiting missing details obtained

some details are missing

details obtainted

all details connect

get details

details varified

calculte mess expenditure

mess details update

report generate

mess bill

stop

Component Diagram:

Database

jdbc

jdbc

handle

jdbc

manage

manageClerk interface

Admin Interface

rooms allocation

Dbmanager Interface

Student record

Sudent info

Mess bill report

generates

Student Attendance

manage

jdbc

get

Deployment Diagram:

User Computer Db Server

Java Application

My SqlJdbc

Thanks