Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Scenario: Book Order ApplicationUse Case:Actors: Precondition:Main Success Scenario:This application is to be used to enable users (these are sales reps for the bookstore) to process orders for books

Scenario: Book Order ApplicationUse Case:Actors: Precondition:Main Success Scenario:This application is to be used to enable users (these are sales reps for the bookstore) to process orders for books

Computer Science

Scenario: Book Order ApplicationUse Case:Actors: Precondition:Main Success Scenario:This application is to be used to enable users (these are sales reps for the bookstore) to process orders for books.

Process customer order.

Sales Rep (person), Inventory Management System (software), Billing Dept (person).

A customer has requested to order a book, and Sales rep starts Book Order Application

 

1.User (Sales Rep) is told to specify Book Title.

2.User enters Title.

3.Application queries Inventory Manager determining if Title is in catalog

4.If Title is in catalog, Application queries Inventory Manager to determine the ISBN, the price of the book, and the number of copies in stock.

5.Application reports the book price and the number of copies in stock to the User

6.Application requests the number of copies to be ordered.

7.User enters the number of copies.

8.Application requests the name and address to ship the books.

9.User enters name and address.

10.If all the needed books are in-stock, Application submits a shipping order for the books to the specified address. This order will update the inventory.

11.Application creates a book order, specifying the shipping name and address, the number of copies of the book that were backordered and the number that are being shipped, as well as the total cost of the books being shipped. This information is displayed to the user.

Alternate Scenarios:

?If Title is not in catalog in step 3, Application reports this fact to User, and terminates.

?In step 7, if the number of copies is less than or equal to 0, the Application terminates.

?In step 10, if some (but not all) of the required books are in-stock, Application submits a shipping order for just the copies of the book that are in-stock. This order will update the inventory.

?In step 10, if not all the required copies are in stock, Application submits a back order (to the Inventory Manager) for the number of additional copies that are needed. This backorder will update the inventory.

Question is that Draw a UML Sequence Diagram to illustrate the above use case. The classes in this diagram should include "Inventory Manager" (The inventory management class that has been provided for you), "Session Manager" (The class that reads and writes console messages), and "Book Order", a class that contains the information associated with this order (the book title, the ISBN, the number to be shipped, the number back-ordered, the shipping name and address, and the total charge). Add any additional classes you think appropriate.

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE