InfoShift infoShift = (InfoShift) Cloner.get(teacherShiftPercentage.getShift());
InfoShift infoShift = InfoShift.newInfoFromDomain(teacherShiftPercentage.getShift());
    public static InfoShiftProfessorship copyIShiftProfessorship2InfoShiftProfessorship(            IShiftProfessorship teacherShiftPercentage) {        InfoShiftProfessorship infoTeacherShiftPercentage = new InfoShiftProfessorship();        InfoProfessorship infoProfessorShip = Cloner                .copyIProfessorship2InfoProfessorship(teacherShiftPercentage.getProfessorship());        InfoShift infoShift = (InfoShift) Cloner.get(teacherShiftPercentage.getShift());        copyObjectProperties(infoTeacherShiftPercentage, teacherShiftPercentage);        infoTeacherShiftPercentage.setInfoProfessorship(infoProfessorShip);        infoTeacherShiftPercentage.setInfoShift(infoShift);        return infoTeacherShiftPercentage;    }