removeRootDomainObject();
    public void delete() {        if (!this.getStudentGroups().isEmpty()) {            throw new DomainException(this.getClass().getName(), "");        }        List<Attends> attends = this.getAttends();        List<Attends> attendsAux = new ArrayList();        attendsAux.addAll(attends);        for (Attends attend : attendsAux) {            attend.removeGroupings(this);        }        List exportGroupings = this.getExportGroupings();        List<ExportGrouping> exportGroupingsAux = new ArrayList();        exportGroupingsAux.addAll(exportGroupings);        for (ExportGrouping exportGrouping : exportGroupingsAux) {            ExecutionCourse executionCourse = exportGrouping.getExecutionCourse();            executionCourse.removeExportGroupings(exportGrouping);            exportGrouping.delete();        }                super.deleteDomainObject();    }