Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Company in Domain Model

 
Stefano Miglia
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

this is my first post in JR.

I have a question about domain model and I hope I can formulate it without break Sun/Oracle rules.
If a domain model contains an element "company" (i.e. the company for which I design the architecture), does it mean that my system must be multi-company (like an e-commerce software that can be used by many companies and every transaction is associated with one company)?

I hope the question is comprensible too... :P

Thank you



 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stefano,
Welcome to CodeRanch!

While your question certainly doesn't break any rules, there isn't enough information to answer. Does the assignment imply anything that signifies you have to support more than one company?

Whatever you decide, be sure to list it as an assumption.
 
Stefano Miglia
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Stefano,
Welcome to CodeRanch!


Thank you very much


While your question certainly doesn't break any rules, there isn't enough information to answer. Does the assignment imply anything that signifies you have to support more than one company?


Actually, no. Nothing except an association 1-* between company and a "request" element.
I think I'll follow your advice and write specific assumption.

Thank you

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic