当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
PollOptionImpl - JBOSS Portal 2.2 API 英文版文档
org.jboss.portlet.forums.impl
Class PollOptionImpl
java.lang.Object
org.jboss.portlet.forums.impl.PollOptionImpl
- All Implemented Interfaces:
- PollOption, java.io.Serializable
- public class PollOptionImpl
- extends java.lang.Object
- implements PollOption, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PollOptionImpl
public PollOptionImpl()
PollOptionImpl
public PollOptionImpl(java.lang.String question)
getVotes
public int getVotes()
- Specified by:
getVotes
in interface PollOption
- Returns:
setVotes
public void setVotes(int votes)
- Specified by:
setVotes
in interface PollOption
- Parameters:
votes
-
getQuestion
public java.lang.String getQuestion()
- Specified by:
getQuestion
in interface PollOption
- Returns:
setQuestion
public void setQuestion(java.lang.String question)
- Specified by:
setQuestion
in interface PollOption
- Parameters:
question
-
incVotes
public void incVotes()
- Specified by:
incVotes
in interface PollOption