Question: 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
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
Get step-by-step solutions from verified subject matter experts
