Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you explain the relationship between customer, order, item, and product? which one is real class and which is created due to a relationship? What

image text in transcribed

Can you explain the relationship between customer, order, item, and product?

which one is real class and which is created due to a relationship?

What is the cardinality between these 4 classes? (1-1, 1-n, or m-n)

What type of association between the classes person and customer?

SUT Person - surname : String -lastname : String -email: String -phone : String has cenumeration> CustomerStatus new active blocked retired 1 SUT Customer - id : String -password : String +addAddress( address : Address ) : boolean +delete Address address : Address ): boolean +change Emaill email: String ) : boolean +change Password password : String): boolean +emptyCart(): void +updateCart items : Item [1..*]): boolean +updateStatus( status : CustomerStatus ) shops_with -issues SUT Shopping Cart +update items : Item (1..']): boolean tremove( items: Item [1..']): boolean +purchase(): Order -issuedBy Product -id: String -description : String -price : double - manufacturer : String

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_2

Step: 3

blur-text-image_3

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

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions

Question

Describe the factors influencing of performance appraisal.

Answered: 1 week ago