This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adjusting the class diagram

 
Stefan Nicol
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,

I have an asignment similar with Cade JustBuildIt example. It's about a company that is selling its products through auction.

The BDM is also similar with Cade example, only the AvailabilityNotice (Auction) is missing in mine. And in my BDM the Seller is asociated with the Bid, not as in the Cade example where Seller is asociated with the AvailabilityNotice.

I would add the AvailabilityNotice (or Auction) in my class diagram because I think is necessary.

But now my question is: Can I asociate the Seller with the new class AvailabilityNotice as Cade does in his example and also I found natural ?
Or should I stick with the relation given by the BDM and let the Seller associated with the Bid?

Thank You again.

 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which assignment is this?

You shouldn't need to "change the business domain model" especially the relationship.

You can surely add new classes to support the model or your design.
 
Stefan Nicol
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which assignment is this?

Gusher Oil.

You shouldn't need to "change the business domain model" especially the relationship.

You can surely add new classes to support the model or your design.


The new added classes can not be in between some given BDM given classes ? The multiplicity would be actually respected. But indirectly.

Thank you.
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stefan Nicol wrote:
The new added classes can not be in between some given BDM given classes ?


Why not? So long as the relationship to these added classes fulfill the outer domain classes.
 
Stefan Nicol
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K. Tsang wrote:
Stefan Nicol wrote:
The new added classes can not be in between some given BDM given classes ?


Why not? So long as the relationship to these added classes fulfill the outer domain classes.



So that means I still could add Auction class in the Class Diagram as I explain in the first post of this topic. And to make the relation of Seller to Bid over this new class , and not directly as is in the BDM.
It's not considered changing the business domain model, isn't it?

I ask to be sure. Thank you again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic