*/
    private void changePersonRoles() {	getDegreeCandidacy().getPerson().addPersonRoleByRoleType(RoleType.PERSON);	getDegreeCandidacy().getPerson().addPersonRoleByRoleType(RoleType.STUDENT);	boolean needsCandidateRole = false;	for (final Candidacy candidacy : getDegreeCandidacy().getPerson().getCandidaciesSet()) {	    if (candidacy.equals(getDegreeCandidacy())) {		continue;	    }	    if (!candidacy.isConcluded()) {		needsCandidateRole = true;		break;	    }	}	if (!needsCandidateRole) {	    getDegreeCandidacy().getPerson().removeRoleByType(RoleType.CANDIDATE);	}    }