|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.business.QuizQuestion
This class represents business object QuizQuestion
| Constructor Summary | |
QuizQuestion()
Creates a new QuizQuestion object. |
|
| Method Summary | |
int |
getAnswer()
Return The Answer |
java.lang.String |
getChoice(int i)
Return The choice of the response |
int |
getId()
Returns the identifier of this QuizQuestion. |
int |
getIdQuiz()
Return the identifier of the quiz |
java.lang.String |
getQuestion()
Return The Question |
void |
setAnswer(int nAnswer)
Sets The Answers in the specified String |
void |
setChoice(int i,
java.lang.String strChoice)
Sets the Choice indexer |
void |
setId(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 |
setQuestion(java.lang.String strQuestion)
Set the Question to the specified string |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QuizQuestion()
| Method Detail |
public int getId()
public void setId(int nIdQuestion)
nIdQuestion - The Question identifierpublic int getIdQuiz()
public void setIdQuiz(int nIdQuiz)
nIdQuiz - The Quiz identifierpublic java.lang.String getQuestion()
public void setQuestion(java.lang.String strQuestion)
strQuestion - The Questionpublic java.lang.String getChoice(int i)
i - The index
public void setChoice(int i,
java.lang.String strChoice)
i - The indexstrChoice - The Choicepublic int getAnswer()
public void setAnswer(int nAnswer)
nAnswer - The Answer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||