
232
ComPonent-oriented develoPment and assemblY
the data store is updated as well. When the deleteFood() operation is invoked, the
specified Food object is removed from the persistent data store.
11.3.4.3 Design of the OrderBiz Component e OrderBiz component provides the
IOrderBiz interface as shown in Figure11.14. is component is responsible for
managing orders made from guests seated at various tables. When a Table is occu-
pied by guests, an Order object is created and stored in the order attribute of the
Table. e newly created Order item has an empty list of orderItems attribute.
<<design>>
FoodBiz
IFoodBiz
+ findAllFoods() ...