public class DemandPoll extends Object
DemandPoll class.
| Constructor and Description |
|---|
DemandPoll()
Constructor for DemandPoll.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
getDescription
|
Integer |
getId()
getId
|
Set<PollResult> |
getPollResults()
getPollResults
|
Date |
getRequestTime()
getRequestTime
|
String |
getUserName()
getUserName
|
void |
setDescription(String description)
setDescription
|
void |
setId(int id)
setId
|
void |
setId(Integer id)
setId
|
void |
setPollResults(Set<PollResult> pollResults)
setPollResults
|
void |
setRequestTime(Date requestTime)
setRequestTime
|
void |
setUserName(String user)
setUserName
|
public void setDescription(String description)
setDescription
description - a String object.public void setId(int id)
setId
id - a int.public Set<PollResult> getPollResults()
getPollResults
Set object.public void setPollResults(Set<PollResult> pollResults)
setPollResults
pollResults - a Set object.public void setRequestTime(Date requestTime)
setRequestTime
requestTime - a Date object.Copyright © 2020. All rights reserved.