|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.quiz.business.QuestionGroup
public class QuestionGroup
This is the business class for the object QuestionGroup
| Constructor Summary | |
|---|---|
QuestionGroup()
|
|
| Method Summary | |
|---|---|
boolean |
getDisplayScore()
Check if the score of the quiz should be displayed in this group. |
String |
getHtmlContent()
Get the HTMl content of this group, or null if this group is not a free HTML group |
int |
getIdGroup()
Returns the IdGroup |
int |
getIdImage()
Get the id of the image |
int |
getIdQuiz()
Returns the identifier of this Quiz. |
boolean |
getIsFreeHtml()
Check if this group is a group with free HTML |
String |
getLabelGroup()
Returns the LabelGroup |
int |
getPositionGroup()
Returns the identifier of this Quiz. |
String |
getSubject()
Returns the Subject |
void |
setDisplayScore(boolean bDisplayResult)
Indicates that this group must display the score of the quiz or not |
void |
setHtmlContent(String strHtmlContent)
Set the HTMl content of this group, or null if this group is not a free HTML group |
void |
setIdGroup(int nIdGroup)
Sets the IdGroup |
void |
setIdImage(int nIdImage)
Set the id of the image |
void |
setIdQuiz(int nIdQuiz)
Sets the identifier of the quiz to the specified integer. |
void |
setIsFreeHtml(boolean bIsFreeHtml)
Set this group free HTML group or a question group |
void |
setLabelGroup(String strLabelGroup)
Sets the LabelGroup |
void |
setPositionGroup(int nPositionGroup)
Sets the identifier of the quiz to the specified integer. |
void |
setSubject(String strSubject)
Sets the Subject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuestionGroup()
| Method Detail |
|---|
public int getIdGroup()
public void setIdGroup(int nIdGroup)
nIdGroup - The IdGrouppublic String getLabelGroup()
public void setLabelGroup(String strLabelGroup)
strLabelGroup - The LabelGrouppublic String getSubject()
public void setSubject(String strSubject)
strSubject - The Subjectpublic int getIdQuiz()
public void setIdQuiz(int nIdQuiz)
nIdQuiz - The quiz identifierpublic int getPositionGroup()
public void setPositionGroup(int nPositionGroup)
nPositionGroup - The group positionpublic boolean getIsFreeHtml()
public void setIsFreeHtml(boolean bIsFreeHtml)
bIsFreeHtml - True if this group is a group with free HTML, false if
it has questionspublic String getHtmlContent()
public void setHtmlContent(String strHtmlContent)
strHtmlContent - the HTMl content of this group, or null if this
group is not a free HTML grouppublic int getIdImage()
public void setIdImage(int nIdImage)
nIdImage - the id of the imagepublic boolean getDisplayScore()
public void setDisplayScore(boolean bDisplayResult)
bDisplayResult - True if the group must display the score of the
quiz, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||