|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.poll.business.PollQuestion
public class PollQuestion
This class represents business object PollQuestion
Constructor Summary | |
---|---|
PollQuestion()
|
Method Summary | |
---|---|
java.util.List<PollChoice> |
getChoices()
Returns the list of avaiable choices |
int |
getId()
Returns the identifier of this question of the poll |
int |
getIdPoll()
Returns the identifier of the poll |
java.lang.String |
getLabel()
Returns the label of the question |
int |
getVotesCount()
Returns the count of votes for the question |
void |
setId(int nIdQuestion)
Sets the identifier with the specified integer |
void |
setIdPoll(int nIdPoll)
Sets the identifier of the poll with the specified integer |
void |
setLabel(java.lang.String strLabelQuestion)
Sets the label of the question with the specified string |
void |
setVotesCount(int nVotesCount)
Sets the count of votes for the question |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PollQuestion()
Method Detail |
---|
public int getId()
public void setId(int nIdQuestion)
nIdQuestion
- The identifier of the questionpublic int getIdPoll()
public void setIdPoll(int nIdPoll)
nIdPoll
- The identifierpublic java.lang.String getLabel()
public void setLabel(java.lang.String strLabelQuestion)
strLabelQuestion
- The String labelpublic java.util.List<PollChoice> getChoices()
public int getVotesCount()
public void setVotesCount(int nVotesCount)
nVotesCount
- the votes count
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |