• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cade: Case Study Doubts

 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In Cade's case study, got few doubts in class diagram. The relationship b/w
(1) SearchProcessor and ShoppingCart
How does SearchProcessor can create ShoppingCart

(2) Order and Address
Is this virtual relationship as Customer can have Address but not Order.


Thanks,
Anil
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anil,
(1) Look at the sequence and collaboration diagrams (pages 174, 175) to see how the SearchProcessor creates a ShoppingCart.

(2) The relationship between Order and Address is a dependency. An Order must be linked to the shipping address of a customer.

Ray
 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(1) Look at the sequence and collaboration diagrams (pages 174, 175) to see how the SearchProcessor creates a ShoppingCart.


The Sequence/Collaboration Diagrams doesn't show anything on creating ShoppingCart....can we assume SearchProcessor creates ShoppingCart after calling getProduct on ContentMgmt and create Product actions.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic