• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 29
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic