InfoShiftProfessorship infoShiftProfessorship = InfoShiftProfessorship.newInfoFromDomain(shiftProfessorship);
InfoShiftProfessorship infoShiftProfessorship = InfoShiftProfessorshipWithProfessorshipAndExecutionCourseAndShiftAndLessons .newInfoFromDomain(shiftProfessorship);
    private List readInfoShiftProfessorships(ITeacher teacher, IExecutionPeriod executionPeriod) {        List professorships = teacher.getProfessorships();        List shiftProfessorships = new ArrayList();        for (int i = 0; i < professorships.size(); i++) {            IProfessorship professorship = (IProfessorship) professorships.get(i);            IExecutionCourse executionCourse = professorship.getExecutionCourse();            if (executionCourse.getExecutionPeriod().equals(executionPeriod)) {                shiftProfessorships.addAll(professorship.getAssociatedShiftProfessorship());            }        }        List infoShiftProfessorships = new ArrayList();        for (int i = 0; i < shiftProfessorships.size(); i++) {            IShiftProfessorship shiftProfessorship = (IShiftProfessorship) shiftProfessorships.get(i);            InfoShiftProfessorship infoShiftProfessorship = InfoShiftProfessorship.newInfoFromDomain(shiftProfessorship);            infoShiftProfessorships.add(infoShiftProfessorship);        }        return infoShiftProfessorships;    }