/** * Adds an active reserve to client. Maybe is not used now (because all the reserves given in the * XML are done) but we contemplate the possibility of parsing active reserves. * * @param client * @param r */ public void addActiveReserveToClient(String client, Reserve r) { for (Client c : lstClient) { if (c.compareById(client)) { c.setActiveReserve(r); } } }