• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Adjusting the class diagram

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic