result += lesson.getInfoRoomOccupation().getInfoRoom().getNome().toString();
result += lesson.getInfoSala().getNome().toString();
    public String getLessons() {        String result = new String();        List infoLessonsList = getInfoLessons();        if (infoLessonsList == null) {            return "";        }        Iterator itLesson = infoLessonsList.iterator();        int index = 0;        while (itLesson.hasNext()) {            index = index + 1;            InfoLesson lesson = (InfoLesson) itLesson.next();            result += lesson.getDiaSemana().toString();            result += " (";            result += lesson.getInicio().get(Calendar.HOUR_OF_DAY);            result += ":";            result += minutesFormatter(lesson.getInicio().get(Calendar.MINUTE));            result += "-";            result += lesson.getFim().get(Calendar.HOUR_OF_DAY);            result += ":";            result += minutesFormatter(lesson.getFim().get(Calendar.MINUTE));            result += ") ";            result += lesson.getInfoRoomOccupation().getInfoRoom().getNome().toString();            int last = (infoLessonsList.size());            if (index != last || (index != 1 && index != last)) {                result += " , ";            } else {                result += " ";            }        }        return result;    }