if (!hasAnyDegreeInfos()) { new DegreeInfo(this); }
    public void edit(String name, String nameEn, String code, DegreeType degreeType,            GradeScale gradeScale) {        commonFieldsChange(name, nameEn, code, gradeScale);        if (degreeType == null) {            throw new DomainException("degree.degree.type.not.null");        }        this.setTipoCurso(degreeType);        if (!hasAnyDegreeInfos()) {            new DegreeInfo(this);        }    }