} else if (nextTransaction.getProcedureClass().equals(OrderStatus.class)) {
OrderStatus proc4 = (OrderStatus) this.getProcedure(OrderStatus.class);
proc4.run(conn, gen, terminalWarehouseID, numWarehouses,
terminalDistrictLowerID, terminalDistrictUpperID, this);
} else if (nextTransaction.getProcedureClass().equals(Delivery.class)) {
Delivery proc5 = (Delivery) this.getProcedure(Delivery.class);
proc5.run(conn, gen, terminalWarehouseID, numWarehouses,
terminalDistrictLowerID, terminalDistrictUpperID, this);
} else {
System.err.println("We have been invoked with an INVALID transactionType?!");
throw new RuntimeException("Bad transaction type = "+ nextTransaction);
}