Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

This is my class diagram I created for a project. I need help with: Determining

ID: 3916703 • Letter: T

Question

This is my class diagram I created for a project.

I need help with:

Determining if i wrote my multiplicty correctly.

Determing if the transition words between each class is appropiate.

Determing if all of my associations are correct.

USER LOGIN ADMIN userlD password adminName ema +verifyLoginO +resetPassword) updatelnventory0 CUSTOMER lastName firstName address -email -creditCardInfo shippinglnfo ORDER PAYMENT 1...-orderlD dateCreated -dateShipped status subtotal Places 1paymentID + registerO + login0 +updateProfile) orderlD paymentAmount paymentDate HAS +placeOrder0) +cancelOrder() +calcPrice() +paymentApproved(0 +paymentDeclined) SHOPPING CART cartID productlD SHIPPING INFO nglD ingType ngCost -dateAdded +addCartltem() +updateQuantity0 +viewCartDetails0) +checkout) +updateShippinglnfo0) +trackShipment(0) PRODUCT INVENTORY productID productName quantity unitCost inventorylD inventoryltem +inventoryAvailable0 0..-inventoryDescription Updates +inventoryUnavailable0)

Explanation / Answer

Determining if i wrote my multiplicty correctly.
--Almost all are correct, but multiplicty between Order and Shopping Cart (Shopping cart may have 0 to any number of orders. One orders doesnt contain 1 shopping cart)

Determing if the transition words between each class is appropriate.
Order - Payment ("Requires" is more appropriate than "Has")
Order - Product("Belongs to " is more appropriate than " Has")
Order - Shopping Cart ("Contains" is more appropriate than "Has")

Determing if all of my associations are correct.
--associations are correct

Lastly, is it okay for USER LOGIN and ADMIN to be standing alone in a class diagram.
--Yes, USER and ADMIN are not dependent on any of tables

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote