/** * Set string representation of poll options. Parse this string and fill * poll items list. * * @param pollItemsValue poll options in string representation */ public void setPollItemsValue(String pollItemsValue) { if (StringUtils.isNotBlank(pollItemsValue)) { this.pollItemsValue = pollItemsValue; this.setPollItems(parseItems(pollItemsValue)); } }