|
||||||||||
| 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 PollOptionpublic void setVotes(int votes)
setVotes in interface PollOptionvotes - public java.lang.String getQuestion()
getQuestion in interface PollOptionpublic void setQuestion(java.lang.String question)
setQuestion in interface PollOptionquestion - public void incVotes()
incVotes in interface PollOption
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||