• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BDOM Multiplicities

 
Rohit Sud
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it okay to have a different multiplicity in the class diagram as compared to the BDOM given in the requirements ?

In the BDOM: A has a one-to-one relationship with B.
In the class diagram I want to have a one-to-many relationship betweeen A & B.
Is this legal ? Has anyone done this ?
 
Rohit Sud
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone done this in part II ?
 
Frank Silbermann
Ranch Hand
Posts: 1408
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think changing the multiplicities is inevitable. Otherwise, a plane can only be used for one flight (it's disposable!).

It's annoying when people say, "I did not change the BDOM" and later admit, "My class diagram associations modified the multiplicities given in the BDOM." The multiplicities are part of the BDOM; if your class diagram reflects different multiplicities, then you changed the business domain model! (Even if you didn't bother to redraw it.)

The instructions that we "must use what we are given" could be interpreted as meaning merely "Don't try to ask us the evaluators any further questions; if what you are given is wrong or incomplete then just use your best judgement."
 
Philippe Maquet
Bartender
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rohit,

Welcome to JavaRanch and this forum!

Maybe you didn't notice our Naming Policy when you registered. Could you please change your displayed name to meet it? You can change it here. Thank you in advance.

Best regards,

Phil.
 
H. Hafer
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Frank Silbermann:
I think changing the multiplicities is inevitable. Otherwise, a plane can only be used for one flight (it's disposable!).


Is understanding a "flight" as travelling a "segment" of your "itinerary" with a specific "equipment" imaginable? So, the "segment" may have more than one "flight" - you have to change multiplicities in the BDOM nevertheless

Harbo
 
Parag Doshi
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And just to add to the mix, the definition of the "segment" and "flight" also affects the multiplicity. It all depends on how coarse or fine grained is a segment or a flight.

Parag
 
Josep Andreas
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some input for this (old) thread; If you do not see the equipment as just a plane but as 'the configuration of the plane', then you need not change the BDOM as each flight would have its unique (plane) configuration.
E.g. sometimes a part of the plane is used for cargo or some other use..

any other thoughts on this subject?
J
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic