Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 20 Consider the following required functionality of a print-on-demand service: The print-on-demand service provides customers the possibility to print posters, flyers, or books

Question 1 20 Consider the following required functionality of a print-on-demand service: The print-on-demand service provides customers the possibility to print posters, flyers, or books on demand. The customer should be able to select a type of product (poster, flyer, or book), a desired quantity, and a paper type. In case a book has to be printed, additionally the customer can choose between hard cover and soft cover. Finally, the customer needs to provide a PDF file containing the desired content. In order for the customer to be able to place an order, he or she must have an account. The customer can create an account by choosing a username/password combination. Furthermore, his or her address and credit card number can be linked to the account, which is required information when placing an order. Once a customer has provided the information for an order, the system checks if all required information is there, either given in the order (type of product, quantity, etc.), or in the account (address and payment information). If any information is lacking, the system will inform the customer that it needs to be added before the order can be placed. Once all information is in place, the order is placed, and the credit card information is sent to the bank for approval. If the bank approves the card, the order is finalized. A printing agent is in charge of actually performing the printing. He or she inspects the provided PDF files of finalized orders. If a file does not meet the quality requirements, the customer will be informed about this, and the order is temporarily put on hold until the customer has provided a new PDF file. Finally, the administrator monitors if at all times, sufficient paper and ink stock is present. Whenever the amount of paper or ink is running low, an order must be placed at the appropriate supplier (either the paper or ink supplier).

Create a UML Use Case Diagram for the print-on-demand service. In addition, give a detailed scenario (pre-condition, trigger, guarantee, main scenario, ...) of the use case for place an order. (5 marks)

Based on your use case description of place an order, create a UML Sequence Diagram. (5 marks) Create a Class Diagram of above-mentioned system. (10 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Database For Big Data And Analytics

Authors: Cristian Molaro, Surekha Parekh, Terry Purcell, Julian Stuhler

1st Edition

1583473858, 978-1583473856

More Books

Students also viewed these Databases questions