public void setTopics(Set<String> topics) { this.topicsString = topics.stream().map(String::trim).collect(Collectors.joining(",")); }