|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portlet.forums.impl.PollOptionImpl
Constructor Summary | |
PollOptionImpl()
|
|
PollOptionImpl(java.lang.String question)
|
Method Summary | |
java.lang.String |
getQuestion()
|
int |
getVotes()
|
void |
incVotes()
|
void |
setQuestion(java.lang.String question)
|
void |
setVotes(int votes)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PollOptionImpl()
public PollOptionImpl(java.lang.String question)
Method Detail |
public int getVotes()
getVotes
in interface PollOption
public void setVotes(int votes)
setVotes
in interface PollOption
votes
- public java.lang.String getQuestion()
getQuestion
in interface PollOption
public void setQuestion(java.lang.String question)
setQuestion
in interface PollOption
question
- public void incVotes()
incVotes
in interface PollOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |