fr.paris.lutece.plugins.quiz.business
Class QuizQuestion

java.lang.Object
  extended by fr.paris.lutece.plugins.quiz.business.QuizQuestion

public class QuizQuestion
extends java.lang.Object

This class represents business object QuizQuestion


Constructor Summary
QuizQuestion()
          Creates a new QuizQuestion object.
 
Method Summary
 java.util.List<Answer> getAnswers()
          Gest answer to a question
 java.lang.String getExplaination()
          Gets explaination
 int getIdGroup()
          Returns the IdGroup
 int getIdQuestion()
          Returns the identifier of this QuizQuestion.
 int getIdQuiz()
          Return the identifier of the quiz
 java.lang.String getQuestionLabel()
          Return The Question
 void setAnswers(java.util.List<Answer> listAnswers)
          Sets answsers to the question
 void setExplaination(java.lang.String strExplication)
          Sets the explaination
 void setIdGroup(int nIdGroup)
          Sets the IdGroup
 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(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

QuizQuestion

public QuizQuestion()
Creates a new QuizQuestion object.

Method Detail

getIdQuestion

public int getIdQuestion()
Returns the identifier of this QuizQuestion.

Returns:
_nIdQuestion The Question identifier

setIdQuestion

public void setIdQuestion(int nIdQuestion)
Sets the identifier of the question to the specified integer.

Parameters:
nIdQuestion - The Question identifier

getIdQuiz

public int getIdQuiz()
Return the identifier of the quiz

Returns:
_nIdQuiz The Quiz identifier

setIdQuiz

public void setIdQuiz(int nIdQuiz)
Sets the identifier of the quiz to the specifies integer

Parameters:
nIdQuiz - The Quiz identifier

getQuestionLabel

public java.lang.String getQuestionLabel()
Return The Question

Returns:
_strQuestion The Question

setQuestionLabel

public void setQuestionLabel(java.lang.String strQuestion)
Set the Question to the specified string

Parameters:
strQuestion - The Question

getIdGroup

public int getIdGroup()
Returns the IdGroup

Returns:
The IdGroup

setIdGroup

public void setIdGroup(int nIdGroup)
Sets the IdGroup

Parameters:
nIdGroup - The IdGroup

getExplaination

public java.lang.String getExplaination()
Gets explaination

Returns:
The explaination

setExplaination

public void setExplaination(java.lang.String strExplication)
Sets the explaination

Parameters:
strExplication - The explaination to set

setAnswers

public void setAnswers(java.util.List<Answer> listAnswers)
Sets answsers to the question

Parameters:
listAnswers - A list of answers

getAnswers

public java.util.List<Answer> getAnswers()
Gest answer to a question

Returns:
The answer list


Copyright © 2011 Mairie de Paris. All Rights Reserved.