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

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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!