|
||||||||||
| 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 |
getIdQuestion()
Returns the IdQuestion |
java.lang.String |
getLabelAnswer()
Returns the LabelAnswer |
int |
getValid()
Returns the IsValid |
boolean |
isCorrect()
Returns true if it is the correct answer |
void |
setIdAnswer(int nIdAnswer)
Sets the IdAnswer |
void |
setIdQuestion(int nIdQuestion)
Sets the IdQuestion |
void |
setLabelAnswer(java.lang.String strLabelAnswer)
Sets the LabelAnswer |
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 java.lang.String getLabelAnswer()
public void setLabelAnswer(java.lang.String strLabelAnswer)
strLabelAnswer - The LabelAnswerpublic int getValid()
public boolean isCorrect()
public void setValid(int nIsValid)
nIsValid - The IsValid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||