Question: Create a Use Case Diagram, Activity Diagram and Class Diagram for the following case: The Smallville Library only handles hardcopy books (No eBooks, DVDs etc.).

Create a Use Case Diagram, Activity Diagram and Class Diagram for the following case:

The Smallville Library only handles hardcopy books (No eBooks, DVDs etc.). It only has 1 branch. The branch obviously retains the copies of many books. For each generic book in the library an ISBN, Title, Author information and date of publication is retained. For each generic book there may be 1 or more physical copies.

When each physical copy is purchased the Librarian records the book details and a new copy number is assigned for each book copy and the date the copy was purchased is recorded. That copy number is unique within that ISBN. Each book copy has a status field to record special situations such as H (hold) or M" (missing) or "D" (damaged). Book copies are available for members to borrow.

The new system will have an automated book scan for members to check out and return book copies but this may also be handled for the member by the librarian directly.

When a book loan is made the member will first scan their card. Then the book being borrowed will be scanned. A record of the loan will be created and the date loaned and due date are recorded. More than 1 book may be borrowed in a session. When the session is done the member will have the choice to receive a printed receipt.

For a return each book will scanned and the loan record updated with the returned date. Multiple books can be returned by a member in a session and again at the end of the session optionally a receipt can be printed. Not just current active loans but a history of all past loans is kept in the database.

New library memberships are set up by the librarian. Each membership is assigned a unique library card id. Also retained is the members name, address, email address and phone number.

In addition to borrowing books, members may also search online by title or author for books and then optionally reserve one (but not a specific physical copy). Before a reservation is made the members card id must be entered .When a reservation is made the date is recorded.

Nightly the system will check if a copy for a reserved book is available When a copy of a reserved book is available to be borrowed it will be assigned a Hold status and the member notified. The notification date is entered into the database against the reservation. The member has 5 days to pick up the book copy and check it out as a loan or the system will remove the hold on the copy and cancel the reservation. Only information on active reservations is kept.

The system will also periodically check for overdue loans and send the members notifications.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!