auxEnrolment.getEvaluations().addAll(enrolment.getEvaluations()); auxEnrolment.getEnrolmentEquivalences().addAll(enrolment.getEnrolmentEquivalences()); auxEnrolment.getAttends().addAll(enrolment.getAttends()); auxEnrolment.getEquivalentEnrolmentForEnrolmentEquivalences().addAll(enrolment.getEquivalentEnrolmentForEnrolmentEquivalences()); auxEnrolment.getCreditsInAnySecundaryAreas().addAll(enrolment.getCreditsInAnySecundaryAreas()); auxEnrolment.getCreditsInScientificAreas().addAll(enrolment.getCreditsInScientificAreas());
for (final List<IEnrolmentEvaluation> evaluations = enrolment.getEvaluations(); !evaluations .isEmpty(); auxEnrolment.addEvaluations(evaluations.get(0))) ; for (final List<IEnrolmentEquivalence> equivalences = enrolment.getEnrolmentEquivalences(); !equivalences .isEmpty(); auxEnrolment.addEnrolmentEquivalences(equivalences.get(0))) ; for (final List<IAttends> attends = enrolment.getAttends(); !attends.isEmpty(); auxEnrolment .addAttends(attends.get(0))) ; for (final List<ICreditsInAnySecundaryArea> credits = enrolment.getCreditsInAnySecundaryAreas(); !credits .isEmpty(); auxEnrolment.addCreditsInAnySecundaryAreas(credits.get(0))) ; for (final List<ICreditsInScientificArea> credits = enrolment.getCreditsInScientificAreas(); !credits .isEmpty(); auxEnrolment.addCreditsInScientificAreas(credits.get(0))) ;
    private void copyEnrollment(IEnrolment enrolment, IEnrolment auxEnrolment)        throws FenixServiceException {        auxEnrolment.setCreatedBy(enrolment.getCreatedBy());        auxEnrolment.setCreationDate(enrolment.getCreationDate());        auxEnrolment.setAccumulatedWeight(enrolment.getAccumulatedWeight());        auxEnrolment.setCurricularCourse(enrolment.getCurricularCourse());        auxEnrolment.setExecutionPeriod(enrolment.getExecutionPeriod());        auxEnrolment.setStudentCurricularPlan(enrolment.getStudentCurricularPlan());             auxEnrolment.setCondition(enrolment.getCondition());        auxEnrolment.setEnrolmentEvaluationType(enrolment.getEnrolmentEvaluationType());        auxEnrolment.setEnrollmentState(enrolment.getEnrollmentState());		        auxEnrolment.getEvaluations().addAll(enrolment.getEvaluations());        auxEnrolment.getEnrolmentEquivalences().addAll(enrolment.getEnrolmentEquivalences());        auxEnrolment.getAttends().addAll(enrolment.getAttends());        auxEnrolment.getEquivalentEnrolmentForEnrolmentEquivalences().addAll(enrolment.getEquivalentEnrolmentForEnrolmentEquivalences());        auxEnrolment.getCreditsInAnySecundaryAreas().addAll(enrolment.getCreditsInAnySecundaryAreas());        auxEnrolment.getCreditsInScientificAreas().addAll(enrolment.getCreditsInScientificAreas());    }