aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Question about association relationship of class diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply locked New topic
Author

Question about association relationship of class diagram

jack fe
Greenhorn

Joined: Nov 10, 2009
Posts: 16
Car Model and destination market should be one to many or many to many association relationship?

One to many reason:
One car can only be sold in one destination market. One destination market can sell multiple cars.
Many to many reason:
One model of car can be sold in mutipal destination market. One destination market can sell multiple cars.

When we dram the association relationship, we need consider them as one type or one object?
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11478
    
  94

Topic closed as it violates the rules about not discussing a solution. See the FAQ for more details.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
wood burning stoves
 
subject: Question about association relationship of class diagram