((EquivalentEnrolmentForEnrolmentEquivalence)equivalentEnrolment).deleteDomainObject(); ((EnrolmentEquivalence)equivalence).deleteDomainObject();
equivalentEnrolment.delete(); equivalence.delete();
	public void delete() {				removeExecutionPeriod();		removeStudentCurricularPlan();		removeCurricularCourse();							Iterator<IAttends> attendsIter = getAttendsIterator();		while (attendsIter.hasNext()) {			IAttends attends = attendsIter.next();						try {				attendsIter.remove();				attends.removeEnrolment();				attends.delete();			}			catch (DomainException e) {}		}						Iterator<IEnrolmentEvaluation>  evalsIter = getEvaluationsIterator();		while (evalsIter.hasNext()) {			IEnrolmentEvaluation eval = evalsIter.next();			evalsIter.remove();			eval.delete();		}								Iterator<ICreditsInAnySecundaryArea> creditsInAnysecundaryAreaIterator = getCreditsInAnySecundaryAreasIterator();				while (creditsInAnysecundaryAreaIterator.hasNext()) {			ICreditsInAnySecundaryArea credits = creditsInAnysecundaryAreaIterator.next();			creditsInAnysecundaryAreaIterator.remove();			credits.delete();		}								Iterator<ICreditsInScientificArea> creditsInScientificAreaIterator = getCreditsInScientificAreasIterator();				while (creditsInScientificAreaIterator.hasNext()) {			ICreditsInScientificArea credits = creditsInScientificAreaIterator.next();			creditsInScientificAreaIterator.remove();			credits.delete();		}											Iterator<IEquivalentEnrolmentForEnrolmentEquivalence> equivalentEnrolmentIterator = getEquivalentEnrolmentForEnrolmentEquivalencesIterator();				while (equivalentEnrolmentIterator.hasNext()) {			IEquivalentEnrolmentForEnrolmentEquivalence equivalentEnrolment = equivalentEnrolmentIterator.next();			equivalentEnrolmentIterator.remove();			equivalentEnrolment.removeEquivalentEnrolment();						IEnrolmentEquivalence equivalence = equivalentEnrolment.getEnrolmentEquivalence();			IEnrolment enrolment = equivalence.getEnrolment();						enrolment.delete();			equivalence.removeEnrolment();			equivalentEnrolment.removeEnrolmentEquivalence();						((EquivalentEnrolmentForEnrolmentEquivalence)equivalentEnrolment).deleteDomainObject();			((EnrolmentEquivalence)equivalence).deleteDomainObject();		}				Iterator<IEnrolmentEquivalence> equivalenceIterator = getEnrolmentEquivalencesIterator();				while (equivalenceIterator.hasNext()) {			IEnrolmentEquivalence equivalence = equivalenceIterator.next();			equivalenceIterator.remove();			equivalence.removeEnrolment();						Iterator<IEquivalentEnrolmentForEnrolmentEquivalence> equivalentRestrictionIterator = equivalence.getEquivalenceRestrictionsIterator();						while (equivalentRestrictionIterator.hasNext()) {				IEquivalentEnrolmentForEnrolmentEquivalence equivalentRestriction = equivalentRestrictionIterator.next();				equivalentRestriction.removeEquivalentEnrolment();				equivalentRestrictionIterator.remove();				equivalentRestriction.removeEnrolmentEquivalence();								((EquivalentEnrolmentForEnrolmentEquivalence)equivalentRestriction).deleteDomainObject();			}						((EnrolmentEquivalence)equivalence).deleteDomainObject();					}				super.deleteDomainObject();	}