• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Puzzled on Cade book class diagram,anyone can help?

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
In cade book,The class diagram extends the Business Domain Object
Model and the Address,CreditCard,and ShoppingCart have all been added with relationships to Customer.But from the class diagram ,I can't find ShoppingCart object.I don't know whether the ShoppingCart object need not to be added to the class diagram or the writer misses adding it.
If the object need to be added,then which objects have relationship with it?Product,Order and Payment?

Thanks in advance.
 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jacky,
What do you mean by ShoppingCart 'object' ? A class diagram should not show objects, just classes. The ShoppingCart class is shown.
Ray
 
Jacky Doner
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry!In the class diagram,it should be called a class.But In the cade book,
I don't find the ShoppingCart class really,so I don't know how this class have relationships with other classes.
I don't know whether we use different cade book version.In my cade book,at page 168,The part content is:

Class Diagram
The class diagram is a little different from the Business Domain Object
Model (BDOM)provided by the business analyst,but it provides addi-
tional details and still meets the requirements of the BDOM.The
Address,CreditCard,and ShoppingCart have all been added with rela-
tionships to Customer.Payment and LineItem have been added to
expand the Order.Manufacturer is no longer an object,it is now an
attribute of Product.In addition,an Order no longer has a direct rela-
tionship to Product,it must use LineItem to form the relationship.
Stateless session beans have been added to show the classes that will han-
dle the workflow and business logic rules.

But in the class diagram,I can't find it.
In my design,I think the class diagram had better be designed as domain class diagram,i.e.,just extend the BDM,so I'm consider whether I need add this kind of class to my class diagram to book many segments.

Thanks.
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jacky,
The class diagram on page 169 clearly shows ShoppingCart.
Ray
 
Jacky Doner
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think we hold different versions of cade book from each other..Do you have the e-book of it?Can you send me the contents of page 169?
 
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic