当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
PollImpl - JBOSS Portal 2.4 API 英文版文档
org.jboss.portlet.forums.impl
Class PollImpl
java.lang.Object
org.jboss.portlet.forums.impl.PollImpl
- All Implemented Interfaces:
- Poll, java.io.Serializable
- public class PollImpl
- extends java.lang.Object
- implements java.io.Serializable, Poll
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollImpl
public PollImpl()
- Creates a new
PollImpl
object.
getId
public java.lang.Integer getId()
- Description copied from interface:
Poll
- DOCUMENT_ME
- Specified by:
getId
in interface Poll
- Returns:
- DOCUMENT_ME
setTitle
public void setTitle(java.lang.String string)
- Specified by:
setTitle
in interface Poll
- Parameters:
string
-
setLength
public void setLength(int i)
- Specified by:
setLength
in interface Poll
- Parameters:
i
-
setOptions
public void setOptions(java.util.List list)
- Specified by:
setOptions
in interface Poll
- Parameters:
list
-
getOptions
public java.util.List getOptions()
- Specified by:
getOptions
in interface Poll
- Returns:
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface Poll
- Returns:
getLength
public int getLength()
- Specified by:
getLength
in interface Poll
- Returns:
getVoted
public java.util.Set getVoted()
- Specified by:
getVoted
in interface Poll
- Returns:
setVoted
public void setVoted(java.util.Set voted)
- Specified by:
setVoted
in interface Poll
- Parameters:
voted
-
getVotesSum
public int getVotesSum()
- Specified by:
getVotesSum
in interface Poll
- Returns:
getCreationDate
public java.util.Date getCreationDate()
- Specified by:
getCreationDate
in interface Poll
- Returns:
setCreationDate
public void setCreationDate(java.util.Date creationDate)
- Specified by:
setCreationDate
in interface Poll
- Parameters:
creationDate
-