Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Domain Model correction

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi folks,

If all the text mentions your domain model entity as a single unit (always in singular), and what makes sense is to be as a single unit, but in your domain model diagram it's represented as a multiple notation (**), what would you do? Correct the domain model diagram or just get ahead with this relationship making no sense?

Best,

Sergio.
 
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
Don't really understand why you think the given domain model is wrong.

But take note that a multiple (*) relationship is really mean 0 to M. Also you need to know which side is the owner. In below example, A is the owner.

1 A does M B
0 A does M B
M A does M B

Do saying the above make sense?
 
Sergio Figueras
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

K. Tsang wrote:Don't really understand why you think the given domain model is wrong.

But take note that a multiple (*) relationship is really mean 0 to M. Also you need to know which side is the owner. In below example, A is the owner.

1 A does M B
0 A does M B
M A does M B

Do saying the above make sense?



I think that's wrong because in all the text it mentions only one unit, in singular. For example, the domain model says that you need to have N eggs in a basket, but all the text says that it should have only an egg in a basket.
 
pie. 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