This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Domain model relationships

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,


Can someone confirm/decline that following relationship in domain model is incorrect (exact relationships are in my assignment)?

I think I should change relationships to correct one (according my assumptions and business model) but everywhere is written that it's strongly not recommended to change domain model.

Changes could be (I suppose that relationship between A and B is correct):
  • Relationships between A and C from many-to-one to one-to-many
  • Relationships between B and C from many-to-many to many-to-one


  • And one more question does one-to-many is just the case on many-to-many (in such case I'll be totally confused)?
    Class-Diagram0.jpg
    [Thumbnail for Class-Diagram0.jpg]
    domain model
     
    Greenhorn
    Posts: 4
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Kiril,

    Did you make these changes to your model then? What made you sure, that you should (or not) make these changes? Did you get your results yet?


    Thanks!

    Kaps
     
    Kiril Nugmanov
    Ranch Hand
    Posts: 42
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Hi Kaps,

    Yes I had made changes is provided domain model. I cant tell You the decision why these changes were done - it's the part of my submitted assignment. Concerning results - there is still no any changes (TAKEN).
     
    Kaps Dsouza
    Greenhorn
    Posts: 4
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Thanks Kiril. All the best!
     
    Creativity is allowing yourself to make mistakes; art is knowing which ones to keep. Keep this tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic