removeRootDomainObject();
    public void delete() {        if (hasAnyAssociatedCurricularCourses()) {            throw new DomainException("mustDeleteCurricularCoursesFirst");        } else if (this.getCurricularStage().equals(CurricularStage.APPROVED)) {            throw new DomainException("competenceCourse.approved");        }        getDepartments().clear();        removeCompetenceCourseGroupUnit();        for (;!getCompetenceCourseInformations().isEmpty();getCompetenceCourseInformations().get(0).delete());        super.deleteDomainObject();    }