curricularRulesIterator.remove(); exclusiveness.removeExclusiveDegreeModule(); exclusiveness.removeCommonParameters(); exclusiveness.deleteDomainObject();
if (exclusiveness.getExclusiveDegreeModule() == getDegreeModuleToApplyRule()) { curricularRulesIterator.remove(); exclusiveness.removeExclusiveDegreeModule(); exclusiveness.removeCommonParameters(); exclusiveness.deleteDomainObject(); }
    private void removeRuleFromCurrentExclusiveDegreeModule() {        final Iterator<CurricularRule> curricularRulesIterator = this.getExclusiveDegreeModule().getCurricularRulesIterator();        while (curricularRulesIterator.hasNext()) {            final CurricularRule curricularRule = curricularRulesIterator.next();            if (curricularRule.getCurricularRuleType() == this.getCurricularRuleType()) {                final Exclusiveness exclusiveness = (Exclusiveness) curricularRule;                curricularRulesIterator.remove();                exclusiveness.removeExclusiveDegreeModule();                exclusiveness.removeCommonParameters();                exclusiveness.deleteDomainObject();            }        }    }