File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Make Cade's class diagram

 
Joseph Zhou
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Make Cade's class diagram, there is an unidirectional association from Product to ProductCategories. if that is the case, how canwe make product search in the ProductCategories?
 
Ramon Gill
Ranch Hand
Posts: 344
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think Product must contain a Product Category key, so the search can be done within Product.

Ray
 
Joseph Zhou
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ray,

Thanks a lot for your reply. I still not quite understand. usually, we search product(s) in categories, that means a category hold a set of product keys. if a product hold category keys, how can we make it useful?
 
Joseph Zhou
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any comments?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic