public class QuizQuestion extends Object
| Constructor and Description |
|---|
QuizQuestion()
Creates a new QuizQuestion object.
|
| Modifier and Type | Method and Description |
|---|---|
List<Answer> |
getAnswers()
Gest answer to a question
|
String |
getExplaination()
Gets explaination
|
int |
getIdGroup()
Returns the IdGroup
|
int |
getIdImage()
Get the id of the image
|
int |
getIdQuestion()
Returns the identifier of this QuizQuestion.
|
int |
getIdQuiz()
Return the identifier of the quiz
|
String |
getQuestionLabel()
Return The Question
|
void |
setAnswers(List<Answer> listAnswers)
Sets answsers to the question
|
void |
setExplaination(String strExplication)
Sets the explaination
|
void |
setIdGroup(int nIdGroup)
Sets the IdGroup
|
void |
setIdImage(int nIdImage)
Set the id of the image
|
void |
setIdQuestion(int nIdQuestion)
Sets the identifier of the question to the specified integer.
|
void |
setIdQuiz(int nIdQuiz)
Sets the identifier of the quiz to the specifies integer
|
void |
setQuestionLabel(String strQuestion)
Set the Question to the specified string
|
public int getIdQuestion()
public void setIdQuestion(int nIdQuestion)
nIdQuestion - The Question identifierpublic int getIdQuiz()
public void setIdQuiz(int nIdQuiz)
nIdQuiz - The Quiz identifierpublic String getQuestionLabel()
public void setQuestionLabel(String strQuestion)
strQuestion - The Questionpublic int getIdGroup()
public void setIdGroup(int nIdGroup)
nIdGroup - The IdGrouppublic String getExplaination()
public void setExplaination(String strExplication)
strExplication - The explaination to setpublic void setAnswers(List<Answer> listAnswers)
listAnswers - A list of answerspublic int getIdImage()
public void setIdImage(int nIdImage)
nIdImage - the id of the imageCopyright © 2019 City of Paris. All rights reserved.