Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Presentation + Question

 
Davide De Angelis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings!

i recently received the second part SCEA exam, now i got several doubts. I read about the forum's rules on assignment, so i'm going to ask only something on the domain model and a definition of an entity and its relationship. i'll try to be vague, anyway:

There are 3 business entities, a user, a bill and a payment.

What does exactly means "payment", does it represent the informations about the payment of a bill? in this case the cardinality between the payment and a bill, should be 1 to 1. It should not possible to have several payments for several bills... * *

I know that in the assumption paragraph, i could modify the business domain model and eventually cardinalities "assuming that my idea is correct". But i'd like to understand before making an assumption.

Thank you and nice to meet you!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Davide,
Welcome to CodeRanch! Yes, I would take that to mean the payment of a bill.

Technically, I could pay my bill in chunks. I did that back when I first got a credit card and the max was really low. I 'd pay midmonth to get more time. I don't think this is a reasonable thing to have to worry about for the exam though. One tip is that you can assume anything you want (so long as it doesn't reduce the complexity of the assignment.) I submitted a bulleted list of assumptions with my part 2 exam. That way if something could be interpreted two ways, it was obvious I thought about it.
 
Davide De Angelis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jeanne,

thanks for the reply. Ok assuming that i choose to pay the bill in chunks, i don't understand the second cardinality problem, 1 to 1, between a user and a payment, it should be 1 to many...for each user it'd be possible to have several payments. Or does it represent the status of my entities into my system during the payment? i got some problem to understand, may be that i can leave the BDM as is and represent it on the class diagram without any further study in deep about it.

Antoher question, it is neessary to model the entities of the BDM that i'd like to have into the DB? or it is out of scope?

Regards and thank you!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Davide De Angelis wrote: it should be 1 to many...for each user it'd be possible to have several payments.

Yes

Davide De Angelis wrote: Antoher question, it is neessary to model the entities of the BDM that i'd like to have into the DB? or it is out of scope?

Do you not have those entities in the Java world? Or equivalents to them?
 
Davide De Angelis
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i'll model them into the class diagram, so it is obvious that it is not necessary to model the DB tables... ok the last question was useless.

Thank you!

Regards!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic