} else if (nextTransaction.getProcedureClass().equals(Payment.class)) {
Payment proc2 = (Payment) this.getProcedure(Payment.class);
proc2.run(conn, gen, terminalWarehouseID, numWarehouses,
terminalDistrictLowerID, terminalDistrictUpperID, this);
} else if (nextTransaction.getProcedureClass().equals(StockLevel.class)) {
StockLevel proc3 = (StockLevel) this.getProcedure(StockLevel.class);
proc3.run(conn, gen, terminalWarehouseID, numWarehouses,
terminalDistrictLowerID, terminalDistrictUpperID, this);
} else if (nextTransaction.getProcedureClass().equals(OrderStatus.class)) {
OrderStatus proc4 = (OrderStatus) this.getProcedure(OrderStatus.class);
proc4.run(conn, gen, terminalWarehouseID, numWarehouses,
terminalDistrictLowerID, terminalDistrictUpperID, this);