Keel 2.1RC2

org.keel.apps.poll.entity
Class Choice

java.lang.Object
  extended byorg.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
           
 
Constructor Summary
Choice()
           
 
Method Summary
 java.lang.String getChoice()
          Returns the choice.
 java.lang.Integer getChoiceId()
           
 java.lang.Integer getQuestionId()
           
 java.lang.Integer getScore()
          Returns the score.
 void setChoice(java.lang.String choice)
          Sets the choice.
 void setChoiceId(java.lang.Integer newChoiceId)
           
 void setQuestionId(java.lang.Integer i)
           
 void setScore(java.lang.Integer score)
          Sets the score.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

choiceId

private java.lang.Integer choiceId

questionId

private java.lang.Integer questionId

choice

private java.lang.String choice

score

private java.lang.Integer score
Constructor Detail

Choice

public Choice()
Method Detail

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.