@@ -0,0 +1,896 @@
+package org.opennms.netmgt.model;%0A%0Aimport java.util.Date;%0Aimport java.util.Set;%0A%0Apublic class DemandPoll %7B%0A%09%0A%09private int m_id;%0A%09private Date m_requestTime;%0A%09private String m_user;%0A%09private String m_description;%0A%09private Set%3CPollResult%3E m_pollResults;%0A%09%0A%09public String getDescription() %7B%0A%09%09return m_description;%0A%09%7D%0A%09public void setDescription(String description) %7B%0A%09%09m_description = description;%0A%09%7D%0A%09public int getId() %7B%0A%09%09return m_id;%0A%09%7D%0A%09public void setId(int id) %7B%0A%09%09m_id = id;%0A%09%7D%0A%09public Set%3CPollResult%3E getPollResults() %7B%0A%09%09return m_pollResults;%0A%09%7D%0A%09public void setPollResults(Set%3CPollResult%3E pollResults) %7B%0A%09%09m_pollResults = pollResults;%0A%09%7D%0A%09public Date getRequestTime() %7B%0A%09%09return m_requestTime;%0A%09%7D%0A%09public void setRequestTime(Date requestTime) %7B%0A%09%09m_requestTime = requestTime;%0A%09%7D%0A%09public String getUser() %7B%0A%09%09return m_user;%0A%09%7D%0A%09public void setUser(String user) %7B%0A%09%09m_user = user;%0A%09%7D%0A%0A%09%0A%7D%0A

Create a DemandPoll model class that aggregates all the polls need to perform the poll requested by the user