List shiftStudentAssociations = null; List infoStudents = new LinkedList();  ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();  IShift shift = (IShift) sp.getITurnoPersistente().readByOID(Shift.class, shiftID); List<IStudent> students = shift.getStudents(); for (IStudent student : students) { infoStudents.add(Cloner.copyIStudent2InfoStudent(student));
final List infoStudents = new LinkedList(); final IShift shift = (IShift) sp.getITurnoPersistente().readByOID(Shift.class, shiftID); final List<IStudent> students = shift.getStudents(); for (final IStudent student : students) { infoStudents.add(InfoStudent.newInfoFromDomain(student));
    public List run(Integer executionCourseID, Integer shiftID) throws ExcepcaoPersistencia {        List shiftStudentAssociations = null;        List infoStudents = new LinkedList();        ISuportePersistente sp = PersistenceSupportFactory.getDefaultPersistenceSupport();        IShift shift = (IShift) sp.getITurnoPersistente().readByOID(Shift.class, shiftID);        List<IStudent> students = shift.getStudents();        for (IStudent student : students) {            infoStudents.add(Cloner.copyIStudent2InfoStudent(student));        }        return infoStudents;    }