|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.ims.qti.container.SectionContext
public class SectionContext
| Constructor Summary | |
|---|---|
SectionContext()
default constructor needed for persistence |
|
| Method Summary | |
|---|---|
void |
eval()
Method eval. |
ItemContext |
getCurrentItemContext()
Method getCurrentItemContext. |
int |
getCurrentItemContextPos()
Returns the currentItemContextPos. |
int |
getCutValue()
|
long |
getDuration()
Get the time to completion for this section |
long |
getDurationLimit()
Get the time limit set on this section |
java.lang.String |
getIdent()
|
ItemContext |
getItemContext(int pos)
|
ItemContext |
getItemContext(java.lang.String sIdent)
Method getItemContext. |
int |
getItemContextCount()
|
java.util.List |
getItemContextsToRender()
|
int |
getItemsAttemptedCount()
|
int |
getItemsPresentedCount()
|
long |
getLatestAnswerTime()
Returns the timeOfStop. |
float |
getMaxScore()
|
Objectives |
getObjectives()
|
Output |
getOutput()
|
float |
getScore()
|
java.util.List |
getSectionItemContexts()
Returns the sectionItems. |
long |
getTimeOfStart()
Returns the timeOfStart. |
java.lang.String |
getTitle()
|
void |
init()
|
boolean |
isFeedbackavailable()
|
boolean |
isOpen()
checks whether the user may still submit answers |
boolean |
isStarted()
|
boolean |
onTime()
|
void |
sectionWasSubmitted()
|
void |
setCurrentItemContextPos(int currentItemContextPos)
Sets the currentItemContextPos. |
void |
setUp(AssessmentInstance assessInstance,
org.dom4j.Element el_section,
Switches sw)
|
void |
start()
Start duration counters. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SectionContext()
| Method Detail |
|---|
public void init()
public void start()
public void sectionWasSubmitted()
public void eval()
public void setUp(AssessmentInstance assessInstance,
org.dom4j.Element el_section,
Switches sw)
assessInstance - el_section - sw - public java.util.List getItemContextsToRender()
public float getScore()
public java.lang.String getIdent()
public java.lang.String getTitle()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.util.List getSectionItemContexts()
public ItemContext getItemContext(java.lang.String sIdent)
sIdent -
public int getItemsAttemptedCount()
public int getItemsPresentedCount()
public int getItemContextCount()
public int getCurrentItemContextPos()
public void setCurrentItemContextPos(int currentItemContextPos)
currentItemContextPos - The currentItemContextPos to setpublic ItemContext getCurrentItemContext()
public boolean isOpen()
public boolean onTime()
public boolean isStarted()
public ItemContext getItemContext(int pos)
pos -
public long getTimeOfStart()
public long getLatestAnswerTime()
public long getDurationLimit()
public long getDuration()
public float getMaxScore()
public Output getOutput()
public boolean isFeedbackavailable()
public Objectives getObjectives()
public int getCutValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||