class DnFieldHelper {

    public String createSubjectName(List<DnFieldValue> dnFieldValues) {
        return dnFieldValues.stream()
                .filter(dnFieldValue -> !StringUtils.isBlank(dnFieldValue.getValue()))
                .map(dnFieldValue -> dnFieldValue.getId() + "=" + dnFieldValue.getValue())
                .collect(Collectors.joining(", "));
    }

}