final InfoDegreeCurricularPlan infoDegreeCurricularPlan = InfoDegreeCurricularPlan.newInfoFromDomain(executionDegree.getDegreeCurricularPlan()); infoExecutionDegree.setInfoDegreeCurricularPlan(infoDegreeCurricularPlan); final InfoDegree infoDegree = InfoDegree.newInfoFromDomain(executionDegree.getDegreeCurricularPlan().getDegree()); infoDegreeCurricularPlan.setInfoDegree(infoDegree);
if (executionDegree != null) { final InfoDegreeCurricularPlan infoDegreeCurricularPlan = InfoDegreeCurricularPlan.newInfoFromDomain(executionDegree.getDegreeCurricularPlan()); infoExecutionDegree.setInfoDegreeCurricularPlan(infoDegreeCurricularPlan); final InfoDegree infoDegree = InfoDegree.newInfoFromDomain(executionDegree.getDegreeCurricularPlan().getDegree()); infoDegreeCurricularPlan.setInfoDegree(infoDegree); }
	public InfoExecutionDegree run(final InfoExecutionYear infoExecutionYear,			final String degreeInitials, final String nameDegreeCurricularPlan)			throws ExcepcaoPersistencia {		final ISuportePersistente sp = PersistenceSupportFactory				.getDefaultPersistenceSupport();		final IPersistentExecutionDegree executionDegreeDAO = sp				.getIPersistentExecutionDegree();		final IExecutionYear executionYear = Cloner				.copyInfoExecutionYear2IExecutionYear(infoExecutionYear);		final IExecutionDegree executionDegree = executionDegreeDAO				.readByDegreeInitialsAndNameDegreeCurricularPlanAndExecutionYear(						degreeInitials, nameDegreeCurricularPlan, executionYear);		final InfoExecutionDegree infoExecutionDegree = InfoExecutionDegree.newInfoFromDomain(executionDegree);		final InfoDegreeCurricularPlan infoDegreeCurricularPlan = InfoDegreeCurricularPlan.newInfoFromDomain(executionDegree.getDegreeCurricularPlan());		infoExecutionDegree.setInfoDegreeCurricularPlan(infoDegreeCurricularPlan);		final InfoDegree infoDegree = InfoDegree.newInfoFromDomain(executionDegree.getDegreeCurricularPlan().getDegree());		infoDegreeCurricularPlan.setInfoDegree(infoDegree);		return infoExecutionDegree;	}