Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Domain Model  RSS feed

Del Edwards
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you say you did not change the domain model, would that include not changing the name of an object that is "plural" - and seemingly inconsistently named? Say, for instance: an "Invoice" has a one to many association with an "InvoiceItems" object (which one might infer to be a collection of invoices if the name is NOT changed???)instead of a one to many with many "InvoiceItem" (singular) objects?
Also, in your experience would "renaming" a BDM class to avoid confusing it with a class that is being added to the class diagram (for instance: changing "Cart" to "ShoppingCart" to avoid confusing with other "Carts" (RacingCart, GoCart). If the associations between the object don't change (and you document reason for changing name) would this be considered "changing" the BDM? (I hear alot of people who have successfully passed telling that they have not changed the BDM).
Thanks in advance...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!