Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Assignment - Change or not to Change the Business Domain Model

 
Greenhorn
Posts: 9
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi! I'm facing the 1Z0-865 and, despite everybody says that It is not good to change the Business Domain Model (BDM), I think that It is not possible to fulfill all the requirements of the Use Case Specifications (UCS). I will give you an exemple:

Pretend that the BDM give a SOUP class that is associated with a VEGETABLE class. Despite of that, in the UCS, the assignment says that "the SOUP is made with healthy ingredients (VEGETABLES and MUSHROOMS)".

So, what do you think that I have to do? Create a HEALTHYINGREDIENT class and use It instead of VEGETABLE class; or forget the UCS and use ONLY the VEGETABLE class as given by the BDM?
 
Greenhorn
Posts: 28
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Carlos Borges wrote:Hi! I'm facing the 1Z0-865 and, despite everybody says that It is not good to change the Business Domain Model (BDM), I think that It is not possible to fulfill all the requirements of the Use Case Specifications (UCS). I will give you an exemple:

Pretend that the BDM give a SOUP class that is associated with a VEGETABLE class. Despite of that, in the UCS, the assignment says that "the SOUP is made with healthy ingredients (VEGETABLES and MUSHROOMS)".



I believe that instead of vegetable you can make it IIngredient as interface and Vegetable as concrete type of that interface. Then you can change the BDM to associate a soup with ingredient rather than vegetable.
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic