• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Cade: Case Study Doubts

 
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic