|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.neurowork.mobile.android.fw.levels.AppLevelDataItem
net.neurowork.mobile.android.fw.levels.impl.QuizLevelDataItem
public class QuizLevelDataItem
Class for save information about Quiz. It helps for make a quiz in your app
Constructor Summary | |
---|---|
QuizLevelDataItem()
|
Method Summary | |
---|---|
void |
addQuestion(QuestionDataItem question)
Method for parseUtils. |
java.lang.String |
getDescription()
|
java.lang.String |
getFirst()
Return the id of the first question of the quiz. |
QuestionDataItem |
getQuestion(java.lang.String id)
|
java.util.List<java.lang.String> |
getQuestionIds()
Return a list with the IDs of questions contained in the quiz |
int |
getTime()
|
boolean |
isAdventureMode()
|
void |
setDescription(java.lang.String description)
|
void |
setFirst(java.lang.String id)
Set the first question of the quiz. |
void |
setTime(java.lang.String time)
Method for parseUtils. |
int |
size()
Return the number of question |
Methods inherited from class net.neurowork.mobile.android.fw.levels.AppLevelDataItem |
---|
findAllGeoref, findWidthText, getAllImages, getGeoReferencia, getHeaderImageFile, getHeaderText, getId, setGeoReferencia, setHeaderImageFile, setHeaderText, setId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuizLevelDataItem()
Method Detail |
---|
public boolean isAdventureMode()
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public int getTime()
public QuestionDataItem getQuestion(java.lang.String id)
public void setFirst(java.lang.String id)
id
- public java.lang.String getFirst()
public int size()
public java.util.List<java.lang.String> getQuestionIds()
public void setTime(java.lang.String time)
time
- public void addQuestion(QuestionDataItem question)
questions
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |