org.keel.apps.poll.entity
Class Choice
java.lang.Object
org.keel.apps.poll.entity.Choice
- All Implemented Interfaces:
- java.io.Serializable
- public class Choice
- extends java.lang.Object
- implements java.io.Serializable
Choices for each Poll question
- See Also:
- Serialized Form
| Field Summary |
private java.lang.String |
choice
|
private java.lang.Integer |
choiceId
|
private java.lang.Integer |
questionId
|
private java.lang.Integer |
score
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
choiceId
private java.lang.Integer choiceId
-
questionId
private java.lang.Integer questionId
-
choice
private java.lang.String choice
-
score
private java.lang.Integer score
-
Choice
public Choice()
setChoiceId
public void setChoiceId(java.lang.Integer newChoiceId)
-
-
getChoiceId
public java.lang.Integer getChoiceId()
-
-
getQuestionId
public java.lang.Integer getQuestionId()
-
-
- Returns:
- Integer Return the ID of this question
setQuestionId
public void setQuestionId(java.lang.Integer i)
-
-
- Parameters:
i -
getChoice
public java.lang.String getChoice()
-
Returns the choice.
-
-
- Returns:
- String
getScore
public java.lang.Integer getScore()
-
Returns the score.
-
-
- Returns:
- Integer
setChoice
public void setChoice(java.lang.String choice)
-
Sets the choice.
-
-
- Parameters:
choice - The choice to set
setScore
public void setScore(java.lang.Integer score)
-
Sets the score.
-
-
- Parameters:
score - The score to set
Please see keelframework.org for information about new Keel releases.