if (regimen != null) { return regimen.getCategory(); } return null;
return (regimen != null) ? regimen.getCategory() : null;
    public Category getCategory() {	TeacherLegalRegimen regimen = getLastLegalRegimenWithoutEndSituations();	if (regimen != null) {	    return regimen.getCategory();	}	return null;    }