removeRootDomainObject();
    public void delete() {        if (hasAnyAssociatedSummaries() || hasAnyAssociatedShiftProfessorship()                || hasAnySupportLessons() || hasAnyDegreeTeachingServices()                || hasAnyTeacherMasterDegreeServices()) {            throw new DomainException("error.remove.professorship");        }        this.removeExecutionCourse();        this.removeTeacher();        super.deleteDomainObject();    }