try { infoExecutionCourse = (InfoExecutionCourse) Cloner.get( shiftStudent.getShift().getDisciplinaExecucao()); } catch (ExcepcaoPersistencia e) { throw new RuntimeException(e); }
infoExecutionCourse = (InfoExecutionCourse) Cloner.get( shiftStudent.getShift().getDisciplinaExecucao());
        public Object transform(Object arg0)        {            ITurnoAluno shiftStudent = (ITurnoAluno) arg0;            InfoShift shift = new InfoShift();            shift.setAvailabilityFinal(shiftStudent.getShift().getAvailabilityFinal());            InfoExecutionCourse infoExecutionCourse;			try			{				infoExecutionCourse = (InfoExecutionCourse) Cloner.get(					    shiftStudent.getShift().getDisciplinaExecucao());			}			catch (ExcepcaoPersistencia e)			{				throw new RuntimeException(e);			}			shift.setInfoDisciplinaExecucao(infoExecutionCourse);            shift.setLotacao(shiftStudent.getShift().getLotacao());            shift.setNome(shiftStudent.getShift().getNome());            shift.setTipo(shiftStudent.getShift().getTipo());            shift.setIdInternal(shiftStudent.getShift().getIdInternal());            return shift;        }