Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You are asked to evaluate an object model for the same scenario you explored in Module Three. You will be given an object model for

You are asked to evaluate an object model for the same scenario you explored in Module Three. You will be given an object model for the new online storefront. You will be asked to interpret the diagram and evaluate how well it fits the scenario. Your work on this assignment will help support your work on the module application short paper for Project One.

Prompt

Hamp Crafts is a family-owned craft store that has been in business for decades. Its current operations are limited to its physical (brick-and-mortar) storefront. Recently, the owners have determined that one of the best ways to gain additional revenue is through online sales. You have reassured Hamp Crafts’ owners that adding an online storefront will work with their current processes. In this assignment, you will review an object model, specifically a UML class diagram for the new online store. You will interpret the diagram and reflect on how well it meets Hamp Crafts’ needs.

  1. First, review Hamp Crafts’ needs for their online storefront. Then review the UML class diagram for the new online storefront. A version with alternative text is also available

Customer User -customerName: string -address: string email: string -creditcardinfo: string -shippinginfo: string -account Bal

  1. Hamp Crafts would like customers to be able to create an account with their shipping, billing, and contact information. For customer orders, Hamp Crafts would like to accept credit and debit cards for transactions. Hamp Crafts plans on using an established credit card vendor service (e.g., Square, Shopify) to receive customer payments. Once a transaction is complete, the customer should receive a notification based on the information in their personal profile regarding order status and confirmation. On the administrative side of the online storefront, Hamp Crafts should receive an alert of the transaction. Customers should be able to check the status of their order any time online from their personal account profile under order history. The business owners also need an administrative back end for customer support and updates to customer information and the website.
  1. Interpret the object model for the new online storefront by responding to the following prompts:
    • What are the different functions of the online storefront? How are they represented in this type of model?
    • What are the different classes of “users” represented by this object model? What are the associations between these classes?
    • How would the objects “use” their respective variables and functions?
    • Does this object model capture all of Hamp Crafts’ desired functionality? Why or why not?
    • The above diagram uses a solid diamond shape to represent a form of aggregation. What type of aggregation does this represent? What does it imply about the relationship between the classes? Why is a solid diamond the appropriate choice here?
  1. Finally, think through the two different models you’ve explored for Hamp Crafts’ systems: a process model and an object model. Then compare these models by responding to the following prompts:
    • How well do you think a process model describes the system? What information does it make easier to understand? What aspects of the system are more difficult to understand or are not represented?
    • How well do you think an object model describes the system? What information does it make easier to understand? What aspects of the system are more difficult to understand or are not represented?
       

0..* Shopping Cart -cartld: int -productID: int -quantity: int -dateAdded: int +addCartitem() +updateQuantity0 +viewCartDetails()) +checkOut() Customer -customerName: string -address: string -email: string -creditCardinfo: string -shippingInfo: string -accountBalance: float +register() +login() +updateProfile() 0..* Order -orderld: int -dateCreated: string -dateShipped: string -customerName: string -customerld: string -status: string -shippingld: string +placeOrder() User -userid: string -password: string -loginStatus: string -registerDate: date +verifyLogin(): bool Shipping Info -shippingld: int -shippingType: string 1 -shippingCost: int -shippingRegionld: int +updateShippinginfo() 1 Administrator -adminName: string -email: string +updateCatalog(): bool Order Details -orderld:int -productid: int -productName: string -quantity: int -unitCost: float -subtotal: float +calcPrice()

Step by Step Solution

3.41 Rating (138 Votes )

There are 3 Steps involved in it

Step: 1

Ask an expert In this assignment you are asked to evaluate an object model for the same scenario you explored in Module Three You will be given an object model for the new online storefront You will b... 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

Introduction to Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st edition

321321367, 978-0321321367

More Books

Students also viewed these Business Communication questions

Question

Was Price Waterhouse liable for fraud? Did it act with scienter?

Answered: 1 week ago

Question

Identify the most stable compound:

Answered: 1 week ago