Answered step by step
Verified Expert Solution
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
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 -issuedByStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started