|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.business.Answer
public class Answer
This is the business class for the object Answer
| Constructor Summary | |
|---|---|
Answer()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Answer()
| Method Detail |
|---|
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 set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||