infoClass.setInfoExecutionDegree(infoExecutionDegree);
    public List run(InfoExecutionCourse infoExecutionCourse) throws ExcepcaoPersistencia {        final ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();        final IExecutionCourse executionCourse = (IExecutionCourse) sp.getIPersistentExecutionCourse()                .readByOID(ExecutionCourse.class, infoExecutionCourse.getIdInternal());        final List classes = sp.getITurmaPersistente().readByExecutionCourse(executionCourse);        final List infoClasses = new ArrayList(classes.size());        final Map infoExecutionDegrees = new HashMap();        for (final Iterator iterator = classes.iterator(); iterator.hasNext();) {            final ISchoolClass schoolClass = (ISchoolClass) iterator.next();            final InfoClass infoClass = InfoClass.newInfoFromDomain(schoolClass);            final IExecutionDegree executionDegree = schoolClass.getExecutionDegree();            final InfoExecutionDegree infoExecutionDegree;            final String executionDegreeKey = executionDegree.getIdInternal().toString();            if (infoExecutionDegrees.containsKey(executionDegreeKey)) {                infoExecutionDegree = (InfoExecutionDegree) infoExecutionDegrees.get(executionDegreeKey);            } else {                // final InfoExecutionDegree infoExecutionDegree =                // InfoExecutionDegree.newInfoFromDomain(executionDegree);                infoExecutionDegree = new InfoExecutionDegree();                infoExecutionDegrees.put(executionDegreeKey, infoExecutionDegree);                infoExecutionDegree.setIdInternal(executionDegree.getIdInternal());                infoClass.setInfoExecutionDegree(infoExecutionDegree);                final IDegreeCurricularPlan degreeCurricularPlan = executionDegree                        .getDegreeCurricularPlan();                // final InfoDegreeCurricularPlan infoDegreeCurricularPlan =                // InfoDegreeCurricularPlan.newInfoFromDomain(degreeCurricularPlan);                final InfoDegreeCurricularPlan infoDegreeCurricularPlan = new InfoDegreeCurricularPlan();                infoExecutionDegree.setInfoDegreeCurricularPlan(infoDegreeCurricularPlan);                final IDegree degree = degreeCurricularPlan.getDegree();                final InfoDegree infoDegree = InfoDegree.newInfoFromDomain(degree);                infoDegreeCurricularPlan.setInfoDegree(infoDegree);            }            infoClasses.add(infoClass);        }        return infoClasses;    }