Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Search for a book / journal by their title Borrow a book / journal Exit the application and terminate the program. 3 of 5 2

Search for a book/journal by their title
Borrow a book/journal
Exit the application and terminate the program.
3 of 5
2
Kingdom of Saudi Arabia
Ministry of Education
Taibah University
College of Computer Science and
Engineering (CCSE)
Computer Science Department
Project detailed Requirements:
Part 1: Designing the structural part of your application.
(1) Create a UML class diagram that models at least four classes (you can add more classes as you
see necessary) as follows:
An abstract class called Libraryltem with title, year, and Boolean field borrowed.
and an abstract method called borrowSummary it will show the borrowing summer
to the customer (will be used when the customer borrows a specific item).
Two subclasses of class Libraryltem that are called Book and Journal.
Class Book contains author, publisher, and static field quantity
Class Journal contains vol and issue, and static field quantity
A class called User with userID, firstName, lastName, username (for login),
password, email, and userType (either "admin" or "customer")
(2) Create a project called Library Management System (LMS) and implement the classes.
(3) Declare some overloaded constructors with parameters for each class, along with
appropriate methods as you see fit, and declare all the data fields to be private.
Part 2: Designing the user interfaces of the application
Regarding the graphical interfaces of the application, it's required to design at least 7 GUIs
(use the interfaces designs below as a reference to help you understand what operations and
options should be provided in each interface):
The main interface (the login screen) enables the user to login to the application. Note,
there are two types of users: Admin, and Customer. In this project, you can hard-code
the credentials of the Admin and the Customer, and one account of each type of users
will be enough.
(1)
Kingdom of Saudi Arabia
Ministry of Education
Taibah University
College of Computer Science and
Engineering (CCSE)
Computer Science Department
The second interface is the Admin main menu where he can perform the following
tasks:
a. Showing the list of items from each file in the console window right after the
admin has logged in.
b. Adding a new libran item to either Books.txt. or lournals.txt files.
c. Removing an existing library item from either Books.txt or Journals.txt files
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions