/* Class Manager represents one store manager with the */
/* ability to reorder stock items.                     */

class Manager {
   private String name;

   // Creates a Manager object with the specified name.
   public Manager (String id) {
      name = id;
   }

   // Orders more stock by calling the replenish method of the
   // specified Stock_Item object, and prints a message
   // indicating the transaction.
   public void order_stock (Stock_Item out_of_stock_item) {
      System.out.println ("Manager " + name + " is ordering more " +
                          out_of_stock_item.brand());
      out_of_stock_item.replenish (10);
   }
}  // class Manager

