Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need UML class diagrams and state diagrams for a shopping cart java application. Please include patterns and interface with the diagrams Detailed and correct

I need UML class diagrams and state diagrams for a shopping cart java application. Please include patterns and interface with the diagrams

Detailed and correct

design structure, with

comprehensive class

description and

relationships. Correct,

creative, and meaningful

application of design

patterns. UML compliant

syntax applied.

Must include (as required):

class diagrams (classes+

interfaces with full detailed

method and attribute

descriptions, correct

relationships with role

names); sequence

diagrams (object names,

messages with names,

object creation); state

diagrams (state names,

transition guards).

Draft Functional Specification provided for clarification

A customer logs in with a user name and password and a window (frame) opens where he can browse through a list of available products that includes the product name, price, and available quantity. From this window the customer can select products and add them to the shopping cart or they can click on a product and get the full product description, pricing and availability (quantity available) in a pop-up window. The customer can add the product to the shopping cart (quantity), depending on availability. The shopping cart total amount is kept current on the main product browse window.

The customer can proceed to checkout at any time. On the checkout window, the shopping cart can be updated by changing the item count for each product in the cart. At checkout the customer verifies the shopping cart content and pays for the goods by supplying the credit card. The application does not arrange for shipping.

When the seller logs in, a window opens where the current state of the inventory is shown. The seller can update the inventory by adding products - specifying product name, invoice price, sell price and by updating the available quantity.

The internal product representation includes ID, type, quantity, invoice price, and selling price. The application must keep track of all costs, revenues and profits. The seller can access this information from the application UI.

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago