Two Laptop Bag*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Domain model relationships Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Domain model relationships" Watch "Domain model relationships" New topic
Author

Domain model relationships

Kiril Nugmanov
Ranch Hand

Joined: Jul 09, 2008
Posts: 42
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)?



    [Thumbnail for Class Diagram0.jpg]



    SCJP5, SCWCD5, SCBCD5, OCPJWSD5, OCMJEA 5
    Kaps Dsouza
    Greenhorn

    Joined: Sep 05, 2011
    Posts: 4
    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

    Joined: Jul 09, 2008
    Posts: 42
    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

    Joined: Sep 05, 2011
    Posts: 4
    Thanks Kiril. All the best!
     
    It is sorta covered in the JavaRanch Style Guide.
     
    subject: Domain model relationships