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? [10 marks]
SUT Persen Surname: String -lastrame: Strin emal String phone String -enumeration CustomerStatus new active Nocked retired SUT Customer d: String 1 Sword String -addAddress address: Address 1 boolean delete Address address Address : boolean changemak emal String lean change Password password String): boolean -emptyCartovold updateCartemem (3.): boolean purchased vold + updateStatusStatus Customer Status ) shop with issues -SUT. Shopping Cart update items tem 11.1) boolean remover Remshem (1.1) boolean purchase order Ry -SUT Order order D String order Date date sum double updateOrder status: Order Status + createBitinginformation in contains -SUT contains quantity int price i double -SUT Product id String Descriptions price double manufacturer String 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? [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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions