Assingmentjavaoop Group Project
Assingmentjavaoop Group Project
GROUP ASSIGNMENT
Total marks
Prepared by:
Student ID Name
2019235118 JANNATULHIDAYAH BINTI RAMLI
Class/Group : CS110/2G
1.0 introduction
àDetail system that have developed
We work with the team to develop a library management system, which helps
you especially university staff and students, in whatever way the library works. As we
know, libraries are knowledge centers acquired in books or non-books. they are
difficult to identify due to the large volume of books. this can shorten all our energy
and time searching, processing information, operations, and more. At first, the
reading material was not well managed and the library management was just manual
and required a lot of energy for students to gain knowledge. However, for those who
manage the entire section of the library they do not have to worry, as this system
helps solve all their problems. Students can also borrow, return and communicate
with managers more easily and friendlily. The staff is now much easier to manage all
the work in the library, especially in managing book cataloging more systematically
and structurally. they will not simply return home; they will be fined as this system will
control the return times of the student books. as a system developer, we have
developed this system to the best of our ability to make the system user friendly and
the best experience possible. Regardless of the shortcomings in this system, we will
continue to make improvements and updates over time. We hope that our new
system will allow all users to enjoy the use of our new system.
So that the system starts with the staff. The staff already have an account, and
they continue to sign in by filling in their password and username as usual. All data is
kept on file and will be output to the staff name on that day. But if the staff enters the
wrong username and password, the staff will need to fill in again. then click enter for
the next page.
if you log in with the wrong password or username, this message will appear in your
screen
After that, the staff will go to the display menu, there will be a menu for the staff
to go, whether they want to book cataloging, view all the books list in the library as
well as the students, the staff will also include the student name and student id who
wants to return and the book you borrowed,which at the page we provide for student
finepay and the last option to sign out.
If staff want to cataloging, staff must complete all details of each book carefully
before typing and filling in according to the system provided for each ISBN, rack
category, title and quantity. after finishing the cataloging work. Cataloging is for staff
only. However, the book list view appears to be more organized and non-editable
here, as it has become a display for books available in the library. If the staff wants to
enter the next book, the staff will need to do the cataloging again, this book list page
has become a second menu for users on this page. This list of books has also been
included in the file as a storage of the book's data also book cataloging.
After you key-in the book so you need to answer either want to key-in next book or
not
So, if user want to see books list this message will appear
Next is when the staff chooses to student payment page , staff need to enter the
student who want to return the book, student want to borrow any book if the book
available but it very limit to borrow , if they borrow more than so that it will loop to
know what kind of book that you want to borrow if the book still available , while the
staff can check the status of the student's payment, the staff can determine whether
the payment is due or not as a fine for sending the book late, the fine imposed as a
reminder and regulation students continue to be disciplined and facilitate staff to
manage books that are not in the library. This payment is according to how many
days later, if between 1-15 days so the price is rm1 per day, if 15-20 days is rm2 per
day and over 20days they need to pay rm5 per day . It will display the student name,
id, title of the book. The staff can identify the book and control it through the system
to prevent any theft and lack of books. Students only provide their details for
incoming staff. Here staff can make it easy for students to return books on time and
also borrow. If the staff chooses to leave then the staff will leave the library
management page.
10
11
àUML diagram
12
2.0 Objectives
à system development and ability of the program
i) Staff can make catalogs of books available in the library by name, category and so
on in more detail and detail. Also, it's easy to see how many books have been put on
the shelves in the library. It's more efficient than using documents manually
ii) The staff facilitates incoming students who want to return to the library as well as
find out which students are required to pay by hand
iii) students find it easier to get the book they want and are more likely to borrow and
return the book as a reference material to study and research at the counter by
asking staff. This reduces the time it takes for students and staff to find books on the
shelves.
iv) the system will calculate the amount of bill that will need to be paid for the book
that the student wants to return and also the system will calculate total of books in
the library
v) students and staff can view a list of existing books in the library
vi) This security system is so tight that we take care of our privacy when they need to
enter a password.
I use default and normal constructor because it is special type which at the
constructor with no parameters is referred to as a default constructor. A constructor
with parameters is referred to as a normal constructor. Constructors must have the
same name as the class itself and also A constructor resembles an instance method,
but it differs from a method in that it has no explicit return type , it do not have a
return type and not even void. Constructors are invoked using the new operator when
an object is created. I use this In the class definition of studentpayment , catalog and
library .
I also use setter and setter because I want to provide for the library and
catalog class to retrieve and modify each variable are the class declares a private
variable, number. Since number is private, the code from the outside of this class
cannot access the variable directly,so that it must access private data for the variable
that already declare in method definition. it is two conventional methods that are used
for retrieving and updating the value of a variable
13
Next is I use processors for that execute any process involved in the program.
so that I used at the studentpayment to calculate how much student need to pay for
return book late. Printer method which toString and display I use for all class
definition to display any information that related.
Outfile:
14
Infile:
Outfile:
15
Outfile:
16
17
18
19
LIBRARY CLASS:
20
CATALOG CLASS:
21
STUDENTPAYMENT CLASS:
22