|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.quiz.business.Quiz
This class represents business object Quiz
Constructor Summary | |
Quiz()
Creates a new Quiz object. |
Method Summary | |
int |
getId()
Returns the identifier of this Quiz. |
java.lang.String |
getName()
Returns the name of this quiz. |
java.util.Collection |
getQuestions()
Returns a collection of questions |
boolean |
isEnabled()
Returns The boolean status of quiz |
void |
setId(int nIdQuiz)
Sets the identifier of the quiz to the specified integer. |
void |
setName(java.lang.String strName)
Sets the name of the quiz to the specified string |
void |
setQuestions(java.util.Collection questions)
Sets the list of questions on a Collection |
void |
setStatus(int status)
Set The Boolean status |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Quiz()
Method Detail |
public int getId()
public void setId(int nIdQuiz)
nIdQuiz
- The quiz identifierpublic java.lang.String getName()
public void setName(java.lang.String strName)
strName
- The new namepublic boolean isEnabled()
public void setStatus(int status)
status
- The Statuspublic java.util.Collection getQuestions()
public void setQuestions(java.util.Collection questions)
questions
- The Collection of quetsions
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |