Professional Documents
Culture Documents
DESIGN DOCUMENT
Faculty:
Batch No.:
Group No.:
Students:
Roll No.
Student302565
Student302695
VN.033/200811/0352
Student398899
VN.033/200808/0213
Table Of Content
Review I
1.
Introduction..........................................................................................................
2.
Proposed Solution...................................................................................................
3.
4.
5.
4.1.
4.2.
4.3.
4.4.
Login Functional............................................................................................................
Administrator Functions For Employees.....................................................................
Administrator Functions For Books.............................................................................
Administrator Functions For IssueNote......................................................................
6.
7.
8.
9.
8.1.
8.2.
Runtime Environment...................................................................................................
Development Environment............................................................................................
Scope of application................................................................................................
10. Technology............................................................................................................
11. Task Sheet Review I................................................................................................
Review I I
15.1. Entity...............................................................................................................................
15.2. Entity Relationship Diagram........................................................................................
16.1.
16.2.
16.3.
16.4.
16.5.
16.6.
16.7.
16.8.
16.9.
Administrator.................................................................................................................
Employees.......................................................................................................................
Departments...................................................................................................................
Publishers........................................................................................................................
TitleBooks.......................................................................................................................
Department.....................................................................................................................
Issues...............................................................................................................................
Category..........................................................................................................................
Books...............................................................................................................................
17.1.
17.2.
17.3.
17.4.
17.5.
Administrator.................................................................................................................
Employees.......................................................................................................................
Department.....................................................................................................................
Publishers........................................................................................................................
Books...............................................................................................................................
17.6.
17.7.
17.8.
17.9.
TitleBooks.......................................................................................................................
IssueMasters...................................................................................................................
IssueDetails.....................................................................................................................
Category..........................................................................................................................
Review III
1.
Login Form...........................................................................................................
2.
3.
Employee Form.....................................................................................................
4.
5.
6.
7.
8.
9.
3.1.
3.2.
3.3.
4.1.
4.2.
4.3.
4.4.
5.1.
5.2.
5.3.
Borrow Book...................................................................................................................
Return Book....................................................................................................................
Report Issuenote.............................................................................................................
Book Form............................................................................................................
Search Book..........................................................................................................
Account................................................................................................................
7.
7.1.
Information Account......................................................................................................
Change Password...........................................................................................................
Setting Form.........................................................................................................
Task Sheet.............................................................................................................
Sign Plan:
Library Management System
Affective date: 13-Nov-2009
Document Name:
Problem Definition
Version: 1. 0
SWD/Form: No. 1
Page 5 of 55.
REVIEW I :
PROBLEM DEFINITION
End Date :
17-Nov-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 13-Nov-2009
Document Name:
Problem Definition
Version: 1. 0
SWD/Form: No. 1
Page 6 of 55.
Problem Definition
1 - Introduction
Mohan Ltd. has a library which is managed by Ms. Monica manually. All records are
on paper and Monica finds it very difficult to manage when somebody issues or returns the
books. She has to maintain list of books along with details such as Author name, book title
etc. When a book is to be issued, she has to manually search for that book and again for
issuing book she has to maintain a register which will have details of book issued such as
Name of the book, Author, Employee details (name, department etc), Date of issue, Date of
return, etc. This process is tedious and time consuming. She has brought it to the notice of her
seniors and they have proposed the solution of developing a system which will help Monica
managing the things more effectively and also save her time. She will be the only user of the
system.
2 - Proposed Solution
Library Management System is a System for an issues or returns the books, the
manager can easier to find the Author name, book title, etc and will help them the things
more effectively and also save them time.
The system will have login for employee and system administrator. It can use for
search, update , .
3 User Requirement Specification
Mohan Ldt. wants the application to include following :
- There is should have system administrator.
- Allow admin to manage employees. Example : update, delete,.
- The employee can be check in book, check out book.
- Allow add a new book, update, delete a book.
- Allow the system shall let librarian query books details information by
their ISBN number or Author or Title.
- Display employee details.
- Display books details.
4 - Functional Requirements Specification :
4.1 Login Functional : .
- Administrator.
- The users need to provide a username and password to access the system.
End Date :
17-Nov-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 13-Nov-2009
Document Name:
Problem Definition
Version: 1. 0
SWD/Form: No. 1
Page 7 of 55.
End Date :
17-Nov-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 13-Nov-2009
Document Name:
Problem Definition
Version: 1. 0
SWD/Form: No. 1
Page 8 of 55.
End Date :
17-Nov-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 13-Nov-2009
Document Name:
Problem Definition
Version: 1. 0
SWD/Form: No. 1
Page 9 of 55.
+ Call Number(XX-XX-NNN).
+ ISBN (NNN-NNNN).
+ All information can not blank.
- Employee information validation:
+ A unique System ID would also be generated internally for each
employee.
+ All information can not blank.
- IssueNote book information validation:
+ All information can not blank.
+ The Issue Date would automatically reflect the current system date.
+ The due date would automatically be stamped as 5 days from current
Date
7 Outputs Provided By Application :
- Details information employees :
+ EmployeeID, Name, Address,.
- Details book information:
+ Call Number, Author, Title,.
- Issue Note book information:
+ EmployeID, Call Number, IssueDate.
8 System Requirement Specification :
8.1 Runtime Environment :
Hardware
Software
Java SE 5.0
NetBeans 5.0
Software
End Date :
17-Nov-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 13-Nov-2009
Document Name:
Problem Definition
Version: 1. 0
SWD/Form: No. 1
Page 10 of 55.
9 Scope of application :
- The application do not support for Employee.
- The application only support for Administrator.
10 Technology :
- JDBC.
- Swing.
- Notepad / Java editor.
Project Name:
Proposed Solution
4
5
REVIEW I
Introduction
Functional Requirements
Specification
System Requirement
Specification
Inputs/Process/Ouput
Provided By Application
Scope of application
Technology
End Date :
17-Nov-2009
Prepared by (Students)
Group 1: All Members
Start
Date
End
Date
Team Members
Status
17-Nov-2009
Description
13-Nov-2009
Project
Ref. No.
Sr.
Task
No.
Le Trong Hieu
Nguyen Hoang Phuong Thao
Approved by (Faculty)
Mrs. Le Mong Thuy
Done
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 11 of 55.
REVIEW II :
DESIGN DATABASE
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 12 of 55.
Tier 1
Presentation Tier
Tier 2
Database Tier
Database Access
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 13 of 55.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 14 of 55.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 15 of 55.
Invalid
Brorrow
Book
CHEC
K
IssueNote
Valid
Return
Book
Login Successful
Application
Account
UPDATE
VIEW
Book
INSERT
Book
Search
UPDATE
IssueNote
Employee
DELETE
EXIT
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 16 of 55.
EMPLOYEE
BOOK
DEPARTMENT
ISSUENOTE
CATEGORY
Admin
Employee
b
el
o
n
g
Ha
s
Category
N
IssueNote
b
e
l
o
n
g
N
Has
Book
b
e
l
o
n
g
Publisher
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Department
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 17 of 55.
16 - Entity Property :
16.1 - Administrator :
ADMINISTRATOR
FullName
Password
UserName
16.2 - Department :
Department
Department
DepartmentID
16.3 - Publishers :
Publisher
Publisher
PublisherID
Email
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Address
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 18 of 55.
16.4 Employees :
EmployeeI
D
FullName
Address
EMPLOYEE
Department
Phone
16.5 - TitleBooks :
CallNumbe
r
Title
ISBN
TitleBook
Author
Quantity
Department
Publisher
16.6 - Department :
IssueDetails
BookID
End Date :
03-Dec-2009
IssueID
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 19 of 55.
16.7 - IssueNote:
IssueID
EmloyeeID
ReturnDate
IssueMater
Fine
DueDate
IssueDate
16.8 - Categorys :
Category
Category
CategoryID
16.9 -Books :
Books
ISBN
Status
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
CallNumb
er
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
17 - Table Definitions :
17.1 Administrator :
Administrator Table
Key
Field Name
Data Type
Primary
Username
Nvarchar
Password
Nvarchar
FullName
Nvarchar
17.2 Employees :
Employees Table
Key
Field Name
Primary
EmployeeID
FullName
PhoneNumber
Address
Foreign
Department
Data Type
Nvarchar
Nvarchar
Nvarchar
Nvarchar
Int
SWD/Form: No. 1
Page 20 of 55.
17.3 Departments :
Departments Table
Key
Field Name
DepartmentID
Primary
Department
Data Type
Int
Nvarchar
17.4 Publishers :
Publishers Table
Key
Field Name
PublisherID
Primary
Publisher
Email
Address
Data Type
Int
Nvarchar
Nvarchar
Nvarchar
17.5 Books :
BooksTable
Key
Field Name
Primary
ISBN
Foreign
CallNumber
Status
Data Type
Nvarchar
Nvarchar
Nvarchar
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 21 of 55.
17.6 TitleBooks :
TitleBooks Table
Key
Field Name
Primary
CallNumber
Foreign
ISBN
Foreign
Publisher
Foreign
Category
Title
Author
Quantity
Data Type
Nvarchar
Nvarchar
Int
Int
Nvarchar
Nvarchar
Int
Data Type
Nvarchar
Nvarchar
Datetime
Datetime
Datetime
17.7 IssueMasters :
IssueMasters Table
Key
Field Name
Primary
IssueCode
Foreign
EmployeeID
DueDate
IssueDate
ReturnDate
Fine
Int
17.8 IssueDetails :
IssueDetails Table
Key
Field Name
Foreign
IssueID
Foreign
CallNumber
Data Type
Int
Nvarchar
Data Type
Int
Nvarchar
17.9 Category :
Category Table
Key
Field Name
CategoryID
Primary
Category
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 22 of 55.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 23 of 55.
Project Name:
REVIEW II
Entity Relationship
Diagram
Entity Property
Table Definitions
Database Relationship
Diagram
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Start
Date
End
Date
Team Members
Status
17-Nov-2009
Description
13-Nov-2009
Project
Ref. No.
Sr.
Task
No.
Le Trong Hieu
Nguyen Hoang Phuong Thao
Approved by (Faculty)
Mrs. Le Mong Thuy
Done
Sign Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 1
Page 24 of 55.
REVWIEW III :
DESIGN INTERFACE
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 25 of 55.
1 Login Form :
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Description
Status
Username of admin
Password of admin
Enable
Enable
Enable
Username
Password
Login MainFrame
Exit the
application
Approved by (Faculty)
Mrs. Le Mong Thuy
Enable
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 26 of 55.
Description :
- The form is load when enter application.
- When Click Button Login : check username, password.
o If txtUsername, pwdPassword are blank. The error message will be appear.
o If Username, Password are exist, close Login Form and enter to
Mainframe.
o If Username, Password are not exist. The error message will be appear :
Username or Password is not valid !.
2 Main Frame Form :
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 27 of 55.
Name
Type
btnEmployee
Validation
Event
Description
Status
Button
Click
Employee
Enable
btnMyAccount
Button
Click
His/Her Account
Enable
btnAboutUS
Button
Click
About US
Enable
btnBook
Button
Click
Book
Enable
btnSearchBook
Button
Click
Search Book
Enable
BtnIssuenoet
Button
Click
Issue Note
Enable
Description :
- The main frame form load, when login successful:
o Click button Employee : Employee management form will be appear:
Allow Insert, Update, Delete Employee.
o Click button My Account : Account management form will be appear:
Allow change password, create account.
o Click button About Us : About Us will be appear:
Information about team member.
o Click button Books : Book management form will be appear:
Allow Insert, update, Delete Book.
o Click button SearchBook : Search Book management form will be appear:
Allow search book.
o Click button IssueNote : Issue Note management form will be appear:
Allow borrow, return book, and report issue.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 28 of 55.
3 Employe Form :
3.1 Tab Insert Employee :
Description :
- The employee form is load, when click button Employe from main frame:
When click button Insert, check validation :
All information can not blank.
Information input correct. If it not true, the error message
will be appear.
When click button reset : all text field will be blank.
When click button cancel : exit employee form, main frame will be
appear.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 29 of 55.
Name
Type
1
2
3
4
5
6
7
8
9
10
Lblpicture
lblLogo
tabInsert
pnAdd
lblEmployeeID
lblFullName
lblPhoneNumber
lblAddress
lblDepartment
txtEmployeeID
Label
Label
Tab Panel
Panel
Label
Label
Label
Label
Label
Text Field
11
txtFullName
12
Validation
Event
Click
Description
Insert Employee
Status
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Employee code
Text Field
Full name of
employee
Enable
txtPhoneNumber
Text Field
Not blank
Input
Phone Number of
Empoyee
Enable
13
14
txtAddress
cboDepartment
Text Field
Combo Box
Not blank
Input
Select
Address of employee
Select a type of
department
Enable
Enable
15
16
btnInsert
btnReset
Button
Button
Click
Click
Enable
Enable
17
btnCancel
Button
Click
18
tblEmployee
Table
Click
19
lblEmployeeID
Label
EmployeeID
Disable
20
Label17
Label
Dipplay department
code
Disable
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 30 of 55.
Description :
- When click tab panel Update/Delete, the form update/delete will be appear :
o If you want change or delete any employee, you can search a employee by
EmployeeID:
After enter EmployeeID, information will be appear in table
tblUpdate.
Select row in table, all information will be show in below.
o When click button Update :
All information can not blank and right format.
Can not update EmployeeID.
If all text field is correct, display message : Update Employee
Successfull. Reverse : Error when Update A Record!.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 31 of 55.
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable
Enable
15
txtPhoneNumber1
Text Field
Not blank
Input
16
17
18
txtAddress1
JLabel19
cboDepartment1
Text Field
Label
Combo Box
Not blank
Input
19
btnUpdate
Button
Click
20
btnDelete
Dutton
Click
Delete record of
employee
Enable
21
btnReset1
Button
Click
Enable
22
btnCancel1
Button
Click
Select
Phone Number of
Empoyee
Address of employee
Status
Select a type of
department
Change information of
Employee
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Enable
Enable
Disable
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 32 of 55.
Description:
-
When click tab panel Add Department, the form Department is load :
o When click button Insert :
All text field can not blank.
DepartmentID is identity.
If department enter correct, display message :Insert Department
Successfull. Reserve : Error When Insert Record Department.
o When click button Update:
Select row department in table department.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 33 of 55.
Name
Type
Lblpicture
Label
Enable
lblLogo
Label
Enable
tabDepartment
Tab Panel
pnDapartment
Panel
Enable
lblDepartment2
Label
Enable
6
7
lblDepartmentID2
txtDepartment
Label
Text Field
Name of department
Enable
Enable
txtDepartmentID
Text Field
Department code
Disable
tblDepartment
Table
Select
Disable
10
btnInsertDepart
Button
Click
Enable
11
btnUpdateDepart
Button
Click
Enable
12
btnDeleteDepart
Button
Click
13
btnResetDepart
Button
Click
Change information
department
Delete record of
department
Reset all text field
14
btnCancelDepart
Button
Click
Enable
End Date :
03-Dec-2009
Validation
Event
Click
Not blank
Prepared by (Students)
Group 1: All Members
Input
Description
Insert,update,delete
Department
Approved by (Faculty)
Mrs. Le Mong Thuy
Status
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 34 of 55.
4 Book Form :
4.1 Add New Book :
Description :
-
When click button Books from MainFrame, the form book is load :
o Click tab Add New Book : add a new book .
o When click button Insert :
All text field can not blank, data will correct format.
If data is correct, display message : Insert Book Successfull.
Reverse : Error When Insert A Record! or Can Not Insert.
After insert successfull, data is updated on Employee table.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
Exit the form, Mainframe will be appear.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 35 of 55.
Name
Type
Validation
Event
1
2
3
4
5
6
7
8
9
10
Lblpicture
lblLogo
tabAddBook
pnAddBook
lblSequence
lblTitle
lblAuthor
lblCallNumber
lblIsbn
lblCategory
Label
Label
Tab Panel
Panel
Label
Label
Label
Label
Label
Label
11
12
13
14
15
16
lblPublicher
lblStatus
lblQuantity
lblCategoryID
lblPublisherID
txtSquenceNumber
Label
Label
Label
Label
Label
Text Field
17
18
19
txtTitle
txtAuthor
txtCallNumber
Text Field
Text Field
Text Field
20
21
22
23
24
25
26
txtIsbn
cboCategory
cboPublisher
txtStatus
txtQuantiy
btnInsert
btnReset
Text Field
Not blank
Combo Box
Combo Box
Text Field
Not blank
Text Field
Not blank
Button
Button
Input
Select
Select
Input
Input
Click
Click
27
28
btnCancel
tblInsertbook
Button
Table
Click
Click
Click
Description
Insert Book
Panel add a new book
Title
Author
Call Number
ISBN
Category
Not Blank,
only include 3
number
Not blank
Not blank
Input
Input
Input
Publisher
Status
Quantity
Code of category
Code of publisher
Sequnce numeric of
book
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable
Enable
Title of book
Author of book
Call Number of book, it
automatically for title,
author, sequence
ISBN of a book
Category of book
Publisher of a book
Status of book
Quantity of book
Add a new book
Reset all information in
the form
Enable
Enable
Enable
Enable
End Date :
Status
Approved by (Faculty)
Mrs. Le Mong Thuy
Disable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 36 of 55.
Description:
-
When click tab panel Update/Delete, the form update and delete is load :
o If you want update or delete a book :
You should search book by callnumber.
When you enter callnumber in text field Callnumber, Information
of book will be display in Update table.
o When click button Update:
Should select row department in table department. If not, display
message : Choice line to Update or Delete.
If all information are correct, display message : Update Book
Successfull. Reverse : Error When Update A Record!.
o When click button Delete: Select row in table Update table.
If delete successful, display message : Delete Book Successfull.
Reverse : Error When Delete A Record!.
o When click button Reset : Reset all information in the form.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 37 of 55.
o When click button Exit : Exit the form, MainFrame will be appear.
Project: LibraryMgmtSystem, Package: Library, File class: Book.java
No
Name
Type
Validation
Event
Description
1
Lblpicture
Label
2
lblLogo
Label
3
tabAddBook
Tab Panel
Click
Insert Book
4
pnChangeBook
Panel
Panel update or
delete a book
5
lblCallSearch
Label
Call Number
6
lblCallNumber1
Label
Call Number
7
lblIsbn1
Label
ISBN
8
lblTitle1
Label
Title
9
lblAuthor1
Label
Author
10
lblCategory1
Label
Category
11
lblPublicher1
Label
Publisher
12
lblStatus1
Label
Status
13
lblQuantity1
Label
Quantity
14
lblCategoryID1
Label
Code of category
15
lblPublisherID1
Label
Code of publisher
16
txtCallSearch
Text Field
Search book by call
numer
17
txtCallNumber1
Text Field
Call Number of book
18
txtIsbn
Text Field
Not blank
Input
ISBN of a book
19
txtTitle
Text Field
Not blank
Input
Title of book
20
txtAuthor
Text Field
Not blank
Input
Author of book
21
cboCategory
Combo
Select
Category of book
Box
22
cboPublisher
Combo
Select
Publisher of a book
Box
23
txtStatus
Text Field
Not blank
Input
Status of book
24
txtQuantiy
Text Field
Not blank
Input
Quantity of book
25
btnUpdate1
Button
Click
Update a book
26
btnDelete1
Button
Click
Delete a record of
book
27
btnReset1
Button
Click
Reset all information
in the form
28
btnExit1
Button
Click
Exit the form
29
tblInsertbook
Table
Click
Store information to
be update/delete new
book
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Status
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable
Enable
Disable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 38 of 55.
Description:
-
When click tab panel Add Publisher, the form Publisher is load :
o When click button Insert :
All text field can not blank.
PublisherID is identity.
If data enter correct, display message :Insert Publisher
Successfull. Reserve : Error When Insert Record Publisher.
o When click button Update:
Select row department in table Publisher.
If all text field is correct, display message : Update Publisher
Successfull. Reverse : Error When Update A Record!.
o When click button Delete:
Select row in table Publisher.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 39 of 55.
Name
Type
Validation
Event
Lblpicture
Label
Enable
lblLogo
Label
Enable
tabPubliser
Tab Panel
pnPublisher
Panel
Enable
lblPublisherID2
Label
Disable
lblPublisher2
Label
Enable
lblEmail
Label
Enable
8
9
10
11
12
13
lblAddress
txtPublisherID
txtPublisher
txtEmail
txtAddress
btnInsertPublisher
Label
Text Field
Text Field
Text Field
Text Field
Button
14
btnUpdatePublisher
Button
Click
15
btnDeletePublisher
Button
Click
16
btnResetPublisher
Button
17
btnExitPublisher
18
tblPublisher
Click
Description
Insert,update,delete
publisher
03-Dec-2009
Enable
Enable
Publisher code, identity
Name of publisher
Email of publisher
Address of publisher
Add a new publisher
Disable
Enable
Click
Change information
publisher
Change information
publisher
Reset all text field
Button
Click
Enable
Table
Select
Select record of
publisher
Enable
Not blank
Not blank
Not blank
Input
Input
Input
Click
End Date :
Status
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Enable
Enable
Enable
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 40 of 55.
Description:
-
When click tab panel Add Category, the form Category is load :
o When click button Insert :
All text field can not blank.
CategoryID is identity.
If data enter correct, display message :Insert Category
Successfull. Reserve : Error When Insert Record Category.
o When click button Update:
Select row department in table Publisher.
If all text field is correct, display message : Update Category
Successfull. Reverse : Error When Update A Record!.
o When click button Delete:
Select row in table Publisher.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 41 of 55.
Name
Type
Validation
Event
Lblpicture
Label
Enable
lblLogo
Label
Enable
tabCategory
Tab Panel
pnCategory
Panel
Enable
lblCategory2
Label
Enable
lblCategoryID2
Label
Enable
txtCategory
Text Field
txtCategoryID
Text Field
btnInsertCategory
Button
10
btnResetCategory
11
Click
Not blank
Input
Description
Insert,update,delete
Category
Status
Enable
Name of Category
Enable
Code of Category
Disable
Click
Enable
Button
Click
Enable
btnUpdateCategory
Button
Click
Enable
12
btnDeleteCategory
Button
Click
13
btnExitCategory
Button
Click
14
tblCategory
Table
Select
Change information
Category
Delete record of
categoryt
Exit the form,
MainFrame will be
appear.
Select record of
Category
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Enable
Enable
Disable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 42 of 55.
Description :
-
When click button IssueNotes from MainFrame, the form issue note is load :
o Click tab Borrow Book : borrow a book .
o When click button borrow :
All text field can not blank, data will correct format.
Search a book by CallNumber. When you enter text field
searchbook, information of book will be display in SearchBook
table
If data is correct, display message : Borrow Book Successfull.
Reverse : Error When Borrow Book! or Can Not Borrow
Book.
After insert successfull, data is updated on Employee table.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 43 of 55.
Name
Type
Validation
Event
1
2
3
4
5
6
7
8
9
10
Lblpicture
lblLogo
tabBorrowBook
pnBorrowBook
lblCallNumber
lblTitle
lblStatus
lblIssueDate
lblDueDate
IssueCode
Label
Label
Tab Panel
Panel
Label
Label
Label
Label
Label
Label
11
12
13
14
15
lblEmployeeID
txtCallNumber
txtTitle
txtStatus
txtIssueDate
Label
Text Field
Text Field
Text Field
Text Field
Not blank
Not blank
Not blank
Not blank
Input
Input
Input
Input
16
txtDueDate
Text Field
Not Blank
Input
17
txtIssueCode
Text Field
Not blank
Input
18
19
20
21
22
txtEmployeeID
lblSearchBook
txtSearchBook
btnBorrow
btnReset
Text Field
Label
Text Field
Button
Button
Not blank
Input
23
24
btnExit
tblBorrowBook
Button
Table
Click
Not blank
Description
Borrow a Book
Panel borrow book
CallNumber
Title
Status
Issue Date
Due Date
Issue Code
EmployeeID
Status
Title of book
Status of book
Issue Date borrow
book, it automatically
reflect the current
system date.
Due Date, it
automatically be
stamped as 5 days
from current date.
Code of issue, it
automatically for
title, CallNumber.
Code of Employee
Search Book
CallNumber of book
Add a record issue
Reset all information
in the form
Input
Click
Click
Click
Select
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Status
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Disable
Disable
Disable
Disable
Disable
Disable
Disable
Enable
Enable
Enable
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 44 of 55.
Description :
-
When click tab panel Return Book, the form return book is load :
o Click tab Return Book : return a book .
o When click button Return :
All text field can not blank, data will correct format.
Search a employee by EmployeeID. When you enter text field
SearchEmployeeID, information of issue will be display in
tblReturnBook table
If data is correct, display message : Return Book Successfull.
Reverse : Error When Return Book! or Can Not Return Book.
After insert successfull, data is updated on tblReturnBook table.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 45 of 55.
Name
Type
Validation
Event
Lblpicture
Label
lblLogo
Label
tabReturnBook
Tab Panel
pnReturnBook
Panel
5
6
lblEmployeeID
lblCallNumber1
Label
Label
EmployeeID
CallNumber
lblIssueDate1
Label
Issue Date
lblDueDate1
Label
Due Date
9
10
11
lblReturnDate
lblLateFee
lblSearchBook
Label
Label
Label
Return Date
LateFees
Search Book
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
12
txtEmployeeID1
Text Field
Not blank
Input
Code of Employee
Disable
13
txtCallNumber1
Text Field
Not blank
Input
Status
Disable
14
txtIssueDate1
Text Field
Not blank
Input
Disable
15
txtDueDate1
Text Field
Not Blank
Input
16
txtReturnDate
Text Field
Not blank
Input
17
txtLateFee
Text Field
Not blank
Input
18
btnReturn
Button
Click
Enable
19
btnReset
Button
Click
Update information
of issue
Reset all information
in the form
20
btnExit
Button
Click
21
txtSearchEmployee
Text Field
Input
Code of employee
22
tblBorrowBook
Table
Select
Store information of
issue
Enable
Enable
Enable
Click
Not blank
Description
Return a Book
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Status
Disable
Disable
Disable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 46 of 55.
Description :
-
When click tab panel Report IssueNote, the form report is load :
All information of IssueNote will be displayin table.
Total number of book, employee, issuenote.
Name
Type
Lblpicture
Label
lblLogo
Label
tabReportIssueNote
Tab Panel
pnReportIssue
Panel
tblReportIssue
Table
Validation
Event
Click
Description
Status
Report of issue
Enable
Enable
Enable
Enable
Enable
Store information of
issue
6 Search Book:
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 47 of 55.
Description :
-
When click button Search Book, the form search book is load :
o You can search a book by :
ISBN or Title or Author or All.
o If you want search a book, you can choice in cboChoice, after that enter
information in text field Enter :
Click button Search:
All information can not blank.
All information of book will be appear in ResultSearch
table.
Click button View-Details:
A row data will be selected in ResultSearch table.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 48 of 55.
Name
Type
Validation
Event
Description
Lblpicture
Label
Enable
lblLogo
Label
Enable
lblCallNumber
Label
CallNumber
Enable
lblIsbn
Label
ISBN
Enable
5
6
lblTitle
lblAuthor
Label
Label
Title
Author
Enable
Enable
lblStatus
Label
Status
Enable
lblCategory
Label
Category
Enable
11
11
11
19
lblPublisher
lblQuantity
lblEnter
txtCallNumber
Label
Label
Label
Text Field
Publisher
Quantity
Enter
Code of book
Enable
Enable
Enable
18
txtIsbn
Text Field
ISBN of book
Disable
12
txtTitle
Text Field
Status
Disable
15
txtAuthor
Text Field
Author of book
Disable
16
txtStatus
Text Field
Status of book
Disable
18
txtCategory
Text Field
Category of book
Disable
20
txtPublihser
Text Field
Publisher of book
Disable
21
txtQuantity
Text Field
Quantity of book
Disable
22
cboChoice
Combo Box
Select
Enable
21
btnViewDetail
Button
Click
Enable
21
btnSearch
Button
Click
Enable
23
btnExit
Button
Click
Display information
of book
Exit the form
24
tblResultSearch
Table
Select
Store information of
book
Enable
7 Account Form :
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Status
Disable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 49 of 55.
Description :
-
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Status
Enable
Enable
Enable
Enable
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 50 of 55.
Description :
- After logging in all the user has the ability to change your password.
-
When click tab panel Cahnge Password, the form change account is load :
o When click button Change :
All text field can not blank.
If data is correct, display message : Change Account
Successfull. Reverse : Error When Change Account! or Can
Not Change Account.
Data tested in database.
o When click button Reset :
Reset all information in the form.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 51 of 55.
Name
Type
Lblpicture
Label
Enable
lblLogo
Label
Enable
tabChangePassword
Tab Panel
pnChangeAccount
Panel
lblUsername
Label
Username
Enable
lblOldPassword
Label
Old Password
Enable
lblNewPassword
Label
New Password
Enable
lblConfirmPassword
Label
Confirm Password
Enable
txtUsername
Text Field
Not blank
Input
Username of admin
Enable
10
pwfOldPassword
Password Field
Input
Enable
11
pwfNewPassword
Password Field
Not blank,
it tested
database
Not blank
Input
Enable
12
pwfConfirmPass
Password Field
Not blank
Input
Confirm password of
admin
Enable
13
btnChange
Button
Click
Enable
14
btnReset
Button
Click
Enable
15
btnExit
Button
Click
Enable
End Date :
03-Dec-2009
Validation
Event
Click
Description
Change password
Status
Enable
Enable
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 52 of 55.
8 Setting Form:
Description :
-
When you setup application, you need connect database, the form setting
databasw is load :
o When click button Install :
All information are correct.
Server name, Usename Login, password must be true your
computer.
o When click button Reset :
Reset all information in the form.
o When click button Exit :
Exit the form, form Login will be appear.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
Page 53 of 55.
No
Name
Type
lblLogo
Label
pnDatabase
Panel
Database Connect
Enable
lblServerName
Label
Server Name
Enable
lblInstanceName
Panel
Instance Name
Enable
lblPortName
Label
PortNumber
Enable
lblDatabaseName
Label
Database Name
Enable
lblUsernamer
Label
Username
Enable
lblPassword
Label
Password
Enable
txtServerName
Text Field
10
txtInstanceName
Text Field
11
txtPortNumber
Text Field
12
txtDatabseName
Text Field
13
txtUsername
Text Field
14
txtPassword
15
btnConnection
Password
Field
Button
16
btnTest
Button
17
btnExit
Button
End Date :
03-Dec-2009
Validation
SWD/Form: No. 3
Event
Description
Status
Enable
Not blank,
must be true
user computer
Not blank,
must be true
user computer
Not blank,
must be true
user computer
Not blank
Input
Enable
Input
Enable
Input
Enable
Input
Enable
Not blank,
must be true
user computer
Not blank
Input
Database Name of
application
Username of SQL server
2005
Input
Password of Username
Enable
Click
Enable
Click
Click
Enable
Prepared by (Students)
Group 1: All Members
Approved by (Faculty)
Mrs. Le Mong Thuy
Enable
Enable
Design Plan:
Library Management System
Affective date: 23-Nov-2009
Document Name:
Design Interface
Version: 1. 0
SWD/Form: No. 3
Page 54 of 55.
03-Dec-2009
03-Dec-2009
Le Trong Hieu
03-Dec-2009
03-Dec-2009
REVIEW III
SearchBook.java
REVIEW III
Book.java :
-Add A New Book
-Update/Delete Book
-Add Publisher
-Add Category
MainFrame.java
23-Nov-2009
Team Members
23-Nov-2009
End
Date
23-Nov-2009
Start
Date
23-Nov-2009
IssueNote.java :
- Borrow Book.
- Return Book.
- Report IssueNote.
Employee.java :
- Add New Employee.
- Update/Delete Employee.
- Add New Department.
REVIEW III
REVIEW III
Project
Ref. No.
Sr.
Task
No.
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
(Student302565)
Status
Done
<Leader>
(Student302695)
Done
Le Trong Hieu
(Student398899)
Approved by (Faculty)
Mrs. Le Mong Thuy
End Date :
03-Dec-2009
Prepared by (Students)
Group 1: All Members
03-Dec-2009
SettingDatabase.java
Page 55 of 55.
03-Dec-2009
Login.java
MyAccount.java:
- Information Account.
- Change Password.
SWD/Form: No. 3
23-Nov-2009
REVIEW III
Document Name:
Design Interface
Version: 1. 0
23-Nov-2009
REVIEW III
Design Plan:
Library Management System
Affective date: 23-Nov-2009
(VN.033/200811/0352)
Done
(VN.033/200808/0213)
Approved by (Faculty)
Mrs. Le Mong Thuy