Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( a ) Consider the following scenario: A library system keeps track of books. Information is kept about its members, book and book copies. Details
a Consider the following scenario:
A library system keeps track of books. Information is kept about its
members, book and book copies. Details of a member such as memberId,
name, address, phone number and email are recorded. Book details such
as title, author, publisher, and catalog number. Individual copies contain
information such as copy number, edition, publication year, ISBN, book
status whether it is on the shelf or loaned out and date due back in The
librarian will access the library system to issue books, record reservations,
generate return requests for reserved books and record books being
returned.
Returning a book may involve generating an availability notification if the
returned book has been reserved by another member. If an availability
notification is generated then the librarian sends it out to the member. When
a book is requested to be issued or requested to be reserved then the system
validates details on the membership card as well as validating that the
requested book is one stocked by the library. If the membership card is
invalid or the library does not stock the book then the request is rejected. If
a book is requested for issue but is onloan then that book will be reserved.
Members of the library can display details of books stocked.
There may be multiple copies of books held in the library. When a book is
borrowed the borrowing date is noted and when the book is returned the
return date is noted. The details held about each reservation include who
the current borrowers is and who has reserved the book.
Draw a class diagram for the above scenario.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started