当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
PollImpl - JBOSS Portal 2.6 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
- Version:
- $Revision: 5448 $
- Author:
- Julien Viet , Thomas Heute , Boleslaw Dawidowicz
- See Also:
- Serialized Form
Field Summary |
private java.util.Date |
creationDate
|
private java.lang.Integer |
id
|
private int |
length
|
private java.util.List |
options
|
private java.lang.String |
title
|
private java.util.Set |
voted
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
private java.lang.Integer id
title
private java.lang.String title
options
private java.util.List options
length
private int length
voted
private java.util.Set voted
creationDate
private java.util.Date creationDate
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
setId
private void setId(java.lang.Integer id)
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
-