public class ChoiceQuestionModel extends Object implements com.google.gwt.user.client.rpc.IsSerializable
| Constructor and Description |
|---|
ChoiceQuestionModel()
Instantiates a new choice question model.
|
ChoiceQuestionModel(Integer idSurvey,
int numberQuestion,
String questionType,
String choice,
String field1,
String field2)
Instantiates a new choice question model.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChoice()
Gets the choice.
|
String |
getField1()
Gets the field 1.
|
String |
getField2()
Gets the field 2.
|
Integer |
getIdSurvey()
Gets the id survey.
|
int |
getNumberQuestion()
Gets the number question.
|
String |
getQuestionType()
Gets the question type.
|
void |
setChoice(String choice)
Sets the choice.
|
void |
setField1(String field1)
Sets the field 1.
|
void |
setField2(String field2)
Sets the field 2.
|
void |
setIdSurvey(Integer idSurvey)
Sets the id survey.
|
void |
setNumberQuestion(int numberQuestion)
Sets the number question.
|
void |
setQuestionType(String questionType)
Sets the question type.
|
public ChoiceQuestionModel()
public ChoiceQuestionModel(Integer idSurvey, int numberQuestion, String questionType, String choice, String field1, String field2)
idSurvey - the id surveynumberQuestion - the number questionquestionType - the question typechoice - the choicefield1 - the field 1field2 - the field 2public Integer getIdSurvey()
public void setIdSurvey(Integer idSurvey)
idSurvey - the new id surveypublic int getNumberQuestion()
public void setNumberQuestion(int numberQuestion)
numberQuestion - the new number questionpublic String getQuestionType()
public void setQuestionType(String questionType)
questionType - the new question typepublic String getChoice()
public void setChoice(String choice)
choice - the new choicepublic String getField1()
public void setField1(String field1)
field1 - the new field 1public String getField2()
public void setField2(String field2)
field2 - the new field 2Copyright © 2018. All Rights Reserved.