ArrayList summaries = new ArrayList();
List summaries = new ArrayList();
    public List readByExecutionCourseShifts(final Integer executionCourseID) throws ExcepcaoPersistencia {        final IExecutionCourse executionCourse = (IExecutionCourse) readByOID(ExecutionCourse.class, executionCourseID);              ArrayList summaries = new ArrayList();                List shifts = executionCourse.getAssociatedShifts();        Iterator iter = shifts.iterator();                while(iter.hasNext()){            IShift shift = (IShift) iter.next();            summaries.addAll(shift.getAssociatedSummaries());                     }             return summaries;    }