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?
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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
