Question: Given is a store. This store has a storekeeper and a storage that contains many items (goods) e.g. packing material, raw material and finished goods.
Given is a store. This store has a storekeeper and a storage that contains many items (goods) e.g. packing material, raw material and finished goods. You, as a client would like to access these different goods. However, you do not know where the different materials are stored. The only access you have to the store is through the storekeeper who knows his store well. Whatever item you want, you tell the storekeeper and he will find it for you and hand it over to you after you pay for it. The storekeeper will select, based on your customer priority, among one of several methods which he has available for obtaining the goods in the warehouse (e.g. delegates, does it by himself, sends his boss)
- Which GoF pattern(s) would be applicable and why? Briefly justify your decision
- Provide a UML class diagram for the above problem, include major methods and cardinalities
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
