Consider the following scenario :
1. Customer has added Expresso with mocha and soy.
2. Now the Expresso is decorated with mocha and soy.
3. Suddenly the customer want to replace soy with Whip.
In that case, we need to remove the soy from the decorated object and decorate with Whip.
How do we solve this issue with the design given in the book?
This post has been edited by Thennam Pandian: 26 September 2010 - 02:40 AM