InfoProfessorship infoProfessorShip = InfoProfessorship.newInfoFromDomain(professorship);
InfoProfessorship infoProfessorShip = InfoProfessorshipWithInfoExecutionCourse .newInfoFromDomain(professorship);
                    public Object transform(Object input) {                        IProfessorship professorship = (IProfessorship) input;                        InfoProfessorship infoProfessorShip = InfoProfessorship.newInfoFromDomain(professorship);                        DetailedProfessorship detailedProfessorship = new DetailedProfessorship();                        List executionCourseCurricularCoursesList = getInfoCurricularCourses(                                detailedProfessorship, professorship.getExecutionCourse());                        IResponsibleFor responsibleFor = new ResponsibleFor();                        responsibleFor.setExecutionCourse(professorship.getExecutionCourse());                        responsibleFor.setTeacher(professorship.getTeacher());                        detailedProfessorship.setResponsibleFor(Boolean.valueOf(responsibleFors                                .contains(responsibleFor)));                        detailedProfessorship.setInfoProfessorship(infoProfessorShip);                        detailedProfessorship                                .setExecutionCourseCurricularCoursesList(executionCourseCurricularCoursesList);                        return detailedProfessorship;                    }