InfoShift infoShift = Cloner.copyShift2InfoShift(shift);
InfoShift infoShift = InfoShift.newInfoFromDomain(shift);
    private InfoLesson copyILesson2InfoLesson(ILesson 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);            IShift shift = lesson.getShift();            InfoShift infoShift = Cloner.copyShift2InfoShift(shift);            infoLesson.setInfoShift(infoShift);        }        return infoLesson;    }