|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.ims.qti.container.AssessmentContext
public class AssessmentContext
contains the sections of the assignment. assumption: each toplevel-section of an assignment means one screen
| Constructor Summary | |
|---|---|
AssessmentContext()
default constructor needed for persistence |
|
| Method Summary | |
|---|---|
void |
eval()
|
SectionContext |
getCurrentSectionContext()
|
int |
getCurrentSectionContextPos()
Returns the currentSectionContextPos. |
float |
getCutvalue()
|
long |
getDuration()
Return the time to completion for this assessment |
long |
getDurationLimit()
|
java.lang.String |
getIdent()
Method getIdent. |
int |
getItemContextCount()
Return the total items in all sections of the assessment. |
int |
getItemPosWithinAssessment()
Get the position of the current item within the assessment. |
int |
getItemsAttemptedCount()
|
int |
getItemsPresentedCount()
|
float |
getMaxScore()
Get the maximum score for this assessment. |
Objectives |
getObjectives()
|
Output |
getOutput()
|
float |
getScore()
|
SectionContext |
getSectionContext(int pos)
|
int |
getSectionContextCount()
Method getSectionContextCount. |
Switches |
getSwitches()
|
long |
getTimeOfStart()
|
long |
getTimeOfStop()
|
java.lang.String |
getTitle()
|
void |
init()
|
boolean |
isFeedbackavailable()
|
boolean |
isOpen()
checks whether the user may still submit answers |
boolean |
isPassed()
|
boolean |
isStarted()
|
void |
setCurrentSectionContextPos(int i)
Method setCurrentSectionContextPos. |
void |
setCurrentSectionPos(int currentSectionPos)
Sets the currentSectionPos. |
void |
setFeedbackavailable(boolean b)
|
void |
setSwitches(Switches switches)
|
void |
setUp(AssessmentInstance assessInstance)
Method setUp. |
void |
start()
start assessment |
void |
stop()
stop assessment |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssessmentContext()
| Method Detail |
|---|
public void init()
public void setUp(AssessmentInstance assessInstance)
assessInstance - public void start()
public void stop()
public void eval()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getIdent()
public java.lang.String getTitle()
public SectionContext getCurrentSectionContext()
public void setCurrentSectionPos(int currentSectionPos)
currentSectionPos - The currentSectionPos to setpublic int getSectionContextCount()
public int getItemContextCount()
public int getItemPosWithinAssessment()
public void setCurrentSectionContextPos(int i)
i - public int getCurrentSectionContextPos()
public boolean isOpen()
public boolean isStarted()
public SectionContext getSectionContext(int pos)
pos -
public long getDurationLimit()
public long getDuration()
public float getMaxScore()
public float getScore()
public boolean isPassed()
public int getItemsPresentedCount()
public int getItemsAttemptedCount()
public Output getOutput()
public Switches getSwitches()
public void setSwitches(Switches switches)
switches - public boolean isFeedbackavailable()
public void setFeedbackavailable(boolean b)
b - public float getCutvalue()
public long getTimeOfStart()
public long getTimeOfStop()
public Objectives getObjectives()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||