Ejemplo n.º 1
0
 @Transient
 public Integer getNumHabDisponible(Date di, Date df) {
   Integer aux = null;
   for (int i = 0; i < habitacions.size() && aux != null; i++) {
     Habitacio h = habitacions.get(i);
     aux = h.disponible(di, df);
   }
   return aux;
 }