return classViews;
    private Object constructViews(List classes, final IDegree degree, final IExecutionPeriod currentExecutionPeriod, final IExecutionPeriod nextExecutionPeriod) {        List classViews = new ArrayList();        for (Iterator iterator = classes.iterator(); iterator.hasNext();) {            ISchoolClass klass = (ISchoolClass) iterator.next();            if (isInPeriodsAndForDegree(klass, degree, currentExecutionPeriod, nextExecutionPeriod)) {                ClassView classView = new ClassView();                classView.setClassName(klass.getNome());                classView.setClassOID(klass.getIdInternal());                classView.setCurricularYear(klass.getAnoCurricular());                classView.setSemester(klass.getExecutionPeriod().getSemester());                classView.setDegreeCurricularPlanID(klass.getExecutionDegree().getDegreeCurricularPlan().getIdInternal());                classView.setDegreeInitials(klass.getExecutionDegree().getDegreeCurricularPlan().getDegree().getSigla());                classView.setNameDegreeCurricularPlan(klass.getExecutionDegree().getDegreeCurricularPlan().getName());                classView.setExecutionPeriodOID(klass.getExecutionPeriod().getIdInternal());                classViews.add(classView);            }        }        return classViews;    }