public Set<String> getPollItems() { return entity.getPollItems(); }
/** Add vpoll item * * @param val the item */ @NoProxy public void addPollItem(final String val) { final Set<String> pis = getPollItems(); if ((pis == null) || !pis.contains(val)) { final BwXproperty xp = new BwXproperty(BwXproperty.pollItem, null, val); addXproperty(xp); if (changeSet != null) { changeSet.addValue(PropertyInfoIndex.XPROP, xp); } } }
sb.append("VERSION:2.0\n"); if (!Util.isEmpty(poll.getPollItems())) { for (final String s: poll.getPollItems()) { sb.append(s);
final BwEvent event = vpoll.getEvent(); if (!Util.isEmpty(event.getPollItems())) { event.clearPollItems();
ts.append("pollProperties", getPollProperties()); ts.append("pollAcceptResponse", getPollAcceptResponse()); ts.append("pollItems", getPollItems());