shiftList.add(classShift.getTurma());
shiftList.add(classShift.getTurno());
    public List readByClass(ISchoolClass group) throws ExcepcaoPersistencia {        Criteria crit = new Criteria();        crit.addEqualTo("turma.nome", group.getNome());        crit.addEqualTo("turma.executionPeriod.name", group.getExecutionPeriod().getName());        crit.addEqualTo("turma.executionPeriod.executionYear.year", group.getExecutionPeriod()                .getExecutionYear().getYear());        IExecutionDegree executionDegree = group.getExecutionDegree();        crit.addEqualTo("turma.executionDegree.executionYear.year", executionDegree.getExecutionYear()                .getYear());        crit.addEqualTo("turma.executionDegree.degreeCurricularPlan.name", executionDegree.getDegreeCurricularPlan()                .getName());        crit.addEqualTo("turma.executionDegree.degreeCurricularPlan.degree.sigla", executionDegree                .getDegreeCurricularPlan().getDegree().getSigla());        List result = queryList(SchoolClassShift.class, crit);        List shiftList = new ArrayList();        Iterator resultIterator = result.iterator();        while (resultIterator.hasNext()) {            ISchoolClassShift classShift = (ISchoolClassShift) resultIterator.next();            shiftList.add(classShift.getTurma());        }        return shiftList;    }