executionCourse.adjustShiftNames(getTipo());
executionCourse.setShiftNames();
    public void delete() {        if (canBeDeleted()) {            for (; hasAnyAssociatedLessons(); getAssociatedLessons().get(0).delete());            for (; hasAnyAssociatedShiftProfessorship(); getAssociatedShiftProfessorship().get(0).delete());                        getAssociatedClasses().clear();            final ExecutionCourse executionCourse = getDisciplinaExecucao();            removeDisciplinaExecucao();            removeRootDomainObject();            deleteDomainObject();            executionCourse.adjustShiftNames(getTipo());        } else {            throw new DomainException("shift.cannot.be.deleted");        }    }