Simple Java task
4861
$$
- Posted:
- Proposals: 0
- Remote
- #50329
- Archived
Description
Experience Level: Intermediate
Hi I want the code and advanced UML class diagram for the following job:
Problem:
David and Anne run a Bookshop. Within this bookshop they stock the books they
have for sale. They want an implementation of a stock system so they can manage the
books they have in stock.
Specifically they want a system where they can:
• Add a book to the stock system.
• Remove a book from the stock system when it is sold.
• Reserve a book in stock.
• Close down the system at the end of the day and restart it without a loss of
data.
• Keep track of how many books have been sold in total.
• Keep track of how many books are currently reserved.
• Keep track of the total cost of books sold.
• Keep track of the different books in stock, and how many of each is present.
Your task is to write a system that implements the BookStore interface (available at
end of CA, alongside the Reservation class) to be called DABookStore, and all
necessary supporting classes (e.g. Book, BookNotInStockException,
AllCopiesReservedException, etc.). All classes developed should reside in a
package called store.
Your source code should include appropriate documentation comments and
assertions.
David and Anne live in an ideal city with no book thieves, so stock reduction due to
theft does not need to be modelled by your system.
You will also need to provide an advanced UML class diagram of the classes you
submit.
I have attached the java files for \"bookstore\" and \"reservation\" you will need for this
Problem:
David and Anne run a Bookshop. Within this bookshop they stock the books they
have for sale. They want an implementation of a stock system so they can manage the
books they have in stock.
Specifically they want a system where they can:
• Add a book to the stock system.
• Remove a book from the stock system when it is sold.
• Reserve a book in stock.
• Close down the system at the end of the day and restart it without a loss of
data.
• Keep track of how many books have been sold in total.
• Keep track of how many books are currently reserved.
• Keep track of the total cost of books sold.
• Keep track of the different books in stock, and how many of each is present.
Your task is to write a system that implements the BookStore interface (available at
end of CA, alongside the Reservation class) to be called DABookStore, and all
necessary supporting classes (e.g. Book, BookNotInStockException,
AllCopiesReservedException, etc.). All classes developed should reside in a
package called store.
Your source code should include appropriate documentation comments and
assertions.
David and Anne live in an ideal city with no book thieves, so stock reduction due to
theft does not need to be modelled by your system.
You will also need to provide an advanced UML class diagram of the classes you
submit.
I have attached the java files for \"bookstore\" and \"reservation\" you will need for this
Yvonne J.
0% (0)Projects Completed
-
Freelancers worked with
-
Projects awarded
0%
Last project
26 Apr 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies