Question: Create a detailed class diagram for the following library system. The system allows performing these functions. 1. Check out a copy of a book. Return
2. Create a detailed class diagram for the following library system. The system allows performing these functions. 1. Check out a copy of a book. Return a copy of a book. 2. Put a book on hold if already borrowed. 3. Add a copy of a book to the library. Remove a copy of a book from the library. 4. Browse the list of books using different filtering/ sorting criteria. 5. Find out the list of books currently checked out by a particular borrower. 6. Check users' personal information. 7. Suspend / delete a user. 8. Set borrowing limit (max number of books to borrow). There are two types of users: staff users and ordinary borrowers. Staff are divided into two categories: Librarians and Clerks. A library user can do tasks 2, 4, 5 and 6. But he can do 5 and 6 only on his own records. A clerk can 1, 2, 4, 5, 6 and 7 A librarian can do all the tasks. The library has books and scientific journals. Journals cannot be borrowed outside the library. There could be multiple copies of the same book. But there is only one copy of a journal. No copy of the book may be both available and checked out at the same time. Only borrowed books can be on hold. A borrower may not have more than a certain number of books borrowed at the same time. Putting a hold on a borrowed book, will give priority to borrow it when it comes. A book is defined by its title, author, publisher, date, edition, ISBN number, library ID. A journal is defined by its name, publisher, date, volume number, issue number, ISBN, library ID. The librarian specifies the max number of books that can be borrowed at the same time. Borrower (user) is defined by ID, name, address, phone number and email. A borrower is suspended if he borrows a book and does not return it for a month after the due date
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
