|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.poll.business.PollChoice
public class PollChoice
This class represents business object PollChoice
| Constructor Summary | |
|---|---|
PollChoice()
|
|
| Method Summary | |
|---|---|
int |
getId()
Returns the identifier of this choice. |
java.lang.String |
getLabel()
Returns the Choice label. |
int |
getQuestionId()
Returns the identifier of this question. |
int |
getScore()
Returns The Score |
void |
setId(int nIdChoice)
Sets the identifier of the choice to the specified integer. |
void |
setLabel(java.lang.String strChoice)
Sets the label of the Choice to the specified string. |
void |
setQuestionId(int nIdQuestion)
Sets the identifier of the question to the specified integer. |
void |
setScore(int nScore)
Sets the score to the specified integer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PollChoice()
| Method Detail |
|---|
public int getId()
public void setId(int nIdChoice)
nIdChoice - the new identifierpublic int getQuestionId()
public void setQuestionId(int nIdQuestion)
nIdQuestion - The question identifierpublic java.lang.String getLabel()
public void setLabel(java.lang.String strChoice)
strChoice - The choice labelpublic int getScore()
public void setScore(int nScore)
nScore - The score
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||