Keel 2.1RC2

org.keel.apps.poll.entity
Class Question

java.lang.Object
  extended byorg.keel.apps.poll.entity.Question
All Implemented Interfaces:
java.io.Serializable

public class Question
extends java.lang.Object
implements java.io.Serializable

Questions within Polls

See Also:
Serialized Form

Field Summary
private  java.lang.String allowFreeForm
           
private  java.lang.Integer displayOrder
           
private  java.lang.Integer pollId
           
private  java.lang.String question
           
private  java.lang.Integer questionId
           
private  java.lang.Boolean required
           
private  java.lang.String widget
           
 
Constructor Summary
Question()
           
 
Method Summary
 java.lang.String getAllowFreeForm()
          Returns the allowFreeForm.
 java.lang.Integer getDisplayOrder()
          Returns the displayOrder.
 java.lang.Integer getPollId()
          Returns the pollId.
 java.lang.String getQuestion()
          Returns the question.
 java.lang.Integer getQuestionId()
          Returns the questionId.
 java.lang.Boolean getRequired()
          Returns the required.
 java.lang.String getWidget()
          Returns the widget.
 void setAllowFreeForm(java.lang.String allowFreeForm)
          Sets the allowFreeForm.
 void setDisplayOrder(java.lang.Integer displayOrder)
          Sets the displayOrder.
 void setPollId(java.lang.Integer pollId)
          Sets the pollId.
 void setQuestion(java.lang.String question)
          Sets the question.
 void setQuestionId(java.lang.Integer questionId)
          Sets the questionId.
 void setRequired(java.lang.Boolean required)
          Sets the required.
 void setWidget(java.lang.String widget)
          Sets the widget.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

questionId

private java.lang.Integer questionId

pollId

private java.lang.Integer pollId

question

private java.lang.String question

required

private java.lang.Boolean required

allowFreeForm

private java.lang.String allowFreeForm

displayOrder

private java.lang.Integer displayOrder

widget

private java.lang.String widget
Constructor Detail

Question

public Question()
Method Detail

getAllowFreeForm

public java.lang.String getAllowFreeForm()
Returns the allowFreeForm.

Returns:
String

getDisplayOrder

public java.lang.Integer getDisplayOrder()
Returns the displayOrder.

Returns:
Integer

getPollId

public java.lang.Integer getPollId()
Returns the pollId.

Returns:
Integer

getQuestion

public java.lang.String getQuestion()
Returns the question.

Returns:
String

getQuestionId

public java.lang.Integer getQuestionId()
Returns the questionId.

Returns:
Integer

getRequired

public java.lang.Boolean getRequired()
Returns the required.

Returns:
Boolean

getWidget

public java.lang.String getWidget()
Returns the widget.

Returns:
String

setAllowFreeForm

public void setAllowFreeForm(java.lang.String allowFreeForm)
Sets the allowFreeForm.

Parameters:
allowFreeForm - The allowFreeForm to set

setDisplayOrder

public void setDisplayOrder(java.lang.Integer displayOrder)
Sets the displayOrder.

Parameters:
displayOrder - The displayOrder to set

setPollId

public void setPollId(java.lang.Integer pollId)
Sets the pollId.

Parameters:
pollId - The pollId to set

setQuestion

public void setQuestion(java.lang.String question)
Sets the question.

Parameters:
question - The question to set

setQuestionId

public void setQuestionId(java.lang.Integer questionId)
Sets the questionId.

Parameters:
questionId - The questionId to set

setRequired

public void setRequired(java.lang.Boolean required)
Sets the required.

Parameters:
required - The required to set

setWidget

public void setWidget(java.lang.String widget)
Sets the widget.

Parameters:
widget - The widget to set

Keel 2.1RC2

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