removeRootDomainObject();
    public void delete() {        final OccupationPeriod period = getPeriod();        removeLesson();        removeWrittenEvaluation();        removeRoom();        removePeriod();        if (period != null) {            period.deleteIfEmpty();        }        super.deleteDomainObject();    }