ISala room = roomOccupation.getRoom(); InfoRoom infoRoom = InfoRoom.newInfoFromDomain(room); infoRoomOccupation.setInfoRoom(infoRoom);  IPeriod period = roomOccupation.getPeriod(); InfoPeriod infoPeriod = InfoPeriod.newInfoFromDomain(period); infoRoomOccupation.setInfoPeriod(infoPeriod);
    private InfoLesson copyILesson2InfoLesson(IAula lesson) {        InfoLesson infoLesson = null;        if (lesson != null) {            infoLesson = new InfoLesson();            infoLesson.setIdInternal(lesson.getIdInternal());            infoLesson.setDiaSemana(lesson.getDiaSemana());            infoLesson.setFim(lesson.getFim());            infoLesson.setInicio(lesson.getInicio());            infoLesson.setTipo(lesson.getTipo());            infoLesson.setInfoSala(copyISala2InfoRoom(lesson.getSala()));            InfoRoomOccupation infoRoomOccupation = Cloner.copyIRoomOccupation2InfoRoomOccupation(lesson                    .getRoomOccupation());            infoLesson.setInfoRoomOccupation(infoRoomOccupation);        }        return infoLesson;    }