/** * Add the list of poll options to this poll. * * @param options the list of poll options to this poll */ public void addPollOptions(List<PollItem> options) { pollItems.addAll(options); forEach(options).setPoll(this); }
/** * Add the list of poll options to this poll. * * @param options the list of poll options to this poll */ public void addPollOptions(List<PollItem> options) { pollItems.addAll(options); forEach(options).setPoll(this); }