|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.ims.qti.container.ItemContext
public class ItemContext
| Constructor Summary | |
|---|---|
ItemContext()
default constructor needed for persistence |
|
| Method Summary | |
|---|---|
int |
addItemInput(ItemInput theItemInput)
Sets the itemInput. |
void |
clearDurationLimit()
|
void |
eval()
|
long |
getDurationLimit()
Returns the duration. |
org.dom4j.Element |
getEl_item()
|
int |
getHintLevel()
|
java.lang.String |
getIdent()
Method getIdent. |
ItemInput |
getItemInput()
|
long |
getLatestAnswerTime()
|
int |
getMaxAttempts()
|
float |
getMaxScore()
|
Output |
getOutput()
|
Item |
getQtiItem()
|
float |
getScore()
Returns the value of the SCORE variable |
long |
getTimeOfStart()
Returns the timeOfStart. |
int |
getTimesAnswered()
|
long |
getTimeSpent()
return duration for answered items |
Variables |
getVariables()
|
void |
init()
|
boolean |
isFeedback()
|
boolean |
isHints()
|
boolean |
isOnTime()
|
boolean |
isOpen()
|
boolean |
isSolutions()
|
boolean |
isStarted()
|
boolean |
isUnderMaxAttempts()
|
void |
resetVariables()
|
void |
setHintLevel(int hintLevel)
Sets the hintLevel. |
void |
setUp(AssessmentInstance assessInstance,
org.dom4j.Element el_orig_item,
Switches sw)
Method setUp. |
void |
start()
Method start. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ItemContext()
| Method Detail |
|---|
public void init()
public void setUp(AssessmentInstance assessInstance,
org.dom4j.Element el_orig_item,
Switches sw)
assessInstance - el_orig_item - sw - public Variables getVariables()
public Output getOutput()
public ItemInput getItemInput()
public int addItemInput(ItemInput theItemInput)
theItemInput - The itemInput to set. max be null for "unanswered"
public int getTimesAnswered()
public java.lang.String getIdent()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public long getTimeOfStart()
public boolean isOpen()
public boolean isOnTime()
public boolean isUnderMaxAttempts()
public org.dom4j.Element getEl_item()
public void start()
public long getTimeSpent()
public long getDurationLimit()
public boolean isStarted()
public int getMaxAttempts()
public long getLatestAnswerTime()
public void eval()
public float getMaxScore()
public float getScore()
public boolean isFeedback()
public boolean isHints()
public boolean isSolutions()
public void resetVariables()
public int getHintLevel()
public void setHintLevel(int hintLevel)
hintLevel - The hintLevel to setpublic void clearDurationLimit()
public Item getQtiItem()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||