This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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 Introducing JavaFX 8 Programming this week in the JavaFX 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: 11745
    
118

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
 
jQuery in Action, 3rd edition
 
subject: Question about association relationship of class diagram
 
jQuery in Action, 3rd edition