fr.paris.lutece.plugins.poll.business
Class PollChoice

java.lang.Object
  extended by fr.paris.lutece.plugins.poll.business.PollChoice

public class PollChoice
extends java.lang.Object

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

PollChoice

public PollChoice()
Method Detail

getId

public int getId()
Returns the identifier of this choice.

Returns:
_nIdChoice the choice identifier

setId

public void setId(int nIdChoice)
Sets the identifier of the choice to the specified integer.

Parameters:
nIdChoice - the new identifier

getQuestionId

public int getQuestionId()
Returns the identifier of this question.

Returns:
_nIdQuestion The identifier of the question

setQuestionId

public void setQuestionId(int nIdQuestion)
Sets the identifier of the question to the specified integer.

Parameters:
nIdQuestion - The question identifier

getLabel

public java.lang.String getLabel()
Returns the Choice label.

Returns:
_strChoice The choice

setLabel

public void setLabel(java.lang.String strChoice)
Sets the label of the Choice to the specified string.

Parameters:
strChoice - The choice label

getScore

public int getScore()
Returns The Score

Returns:
_nScore the score

setScore

public void setScore(int nScore)
Sets the score to the specified integer.

Parameters:
nScore - The score


Copyright © 2007 Mairie de Paris. All Rights Reserved.