Bookmark Topic Watch Topic
  • New Topic

Question about association relationship of class diagram

 
jack fe
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 11887
203
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Report post to moderator
Topic closed as it violates the rules about not discussing a solution. See the FAQ for more details.
 
    Bookmark Topic Watch Topic
  • New Topic