• 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

Domain model relationships

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
      Number of slices to send:
      Optional 'thank-you' note:
    • 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
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Thanks Kiril. All the best!
     
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    reply
      Bookmark Topic Watch Topic
    • New Topic