public class Answer extends Object
| Constructor and Description |
|---|
Answer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIdAnswer()
Returns the IdAnswer
|
int |
getIdProfile() |
int |
getIdQuestion()
Returns the IdQuestion
|
String |
getLabelAnswer()
Returns the LabelAnswer
|
String |
getProfil() |
int |
getValid()
Returns the IsValid
|
boolean |
isCorrect()
Returns true if it is the correct answer
|
void |
setIdAnswer(int nIdAnswer)
Sets the IdAnswer
|
void |
setIdProfile(int nIdProfile) |
void |
setIdQuestion(int nIdQuestion)
Sets the IdQuestion
|
void |
setLabelAnswer(String strLabelAnswer)
Sets the LabelAnswer
|
void |
setProfil(String strProfil) |
void |
setValid(int nIsValid)
Sets the IsValid
|
public int getIdAnswer()
public void setIdAnswer(int nIdAnswer)
nIdAnswer - The IdAnswerpublic int getIdQuestion()
public void setIdQuestion(int nIdQuestion)
nIdQuestion - The IdQuestionpublic String getLabelAnswer()
public void setLabelAnswer(String strLabelAnswer)
strLabelAnswer - The LabelAnswerpublic int getValid()
public boolean isCorrect()
public void setValid(int nIsValid)
nIsValid - The IsValidpublic int getIdProfile()
public void setIdProfile(int nIdProfile)
nIdProfile - the _nIdProfil to setpublic String getProfil()
public void setProfil(String strProfil)
strProfil - the _strProfil to setCopyright © 2015 City of Paris. All rights reserved.