|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.events.ActivemathEvent
org.activemath.events.types.ExerciseStepEvent
public class ExerciseStepEvent
Event: user has performed an exercise step
| Field Summary | |
|---|---|
double |
achievement
|
int |
confidence
|
static String |
EVENT_TYPE
|
protected static Logger |
log
|
List<String> |
misconceptions
|
protected static org.jdom.Namespace |
omdocNamespace
|
long |
stepDuration
|
| Fields inherited from class org.activemath.events.ActivemathEvent |
|---|
bookId, groupId, id, sessionId, source, timestamp, type, userId |
| Constructor Summary | |
|---|---|
ExerciseStepEvent()
|
|
ExerciseStepEvent(String itemId,
List<org.jdom.Element> metadataRecords,
List<org.jdom.Element> input)
|
|
| Method Summary | |
|---|---|
double |
getAchievement()
returns the achievement of the exerciseStep. |
String |
getBookId()
|
List<CognitiveProcess> |
getCognitiveProcesses()
returns a List of CognitiveProcess objects this exerciseStep is for. |
List<Competency> |
getCompetencies()
Deprecated. use getCognitiveProcesses instead |
CompetencyLevel |
getCompetencyLevel()
returns the CompetencyLevel of the exerciseStep this event
occurred in. |
CompetencySystem |
getCompetencySystem()
get the CompetencySystem the exercise is annotated with |
List<String> |
getConceptIds()
returns the ids of the concepts trained by this exerciseStep as a List. |
int |
getConfidence()
|
List<String> |
getDiagnosedMisconceptions()
|
Difficulty |
getDifficulty()
returns the difficulty of the exerciseStep this event occurred in. |
Difficulty |
getDifficulty(LearningContext context)
returns the difficulty of the exerciseStep this event occurred in, respecting the given LearningContext |
List<String> |
getForIds()
returns a List of mbase Ids |
String |
getItemId()
|
List<org.jdom.Element> |
getMetadata()
|
String |
getMetadataText()
Convert metadata of the event into a String representation. |
List<String> |
getMisconceptions()
Deprecated. |
List<String> |
getRemediatedMisconceptions()
|
String |
getSessionId()
|
long |
getStepDuration()
Duration (ms) since last input step for that exercise. |
String |
getStepId()
|
double |
getSuccessRate()
Deprecated. successRate is deprecated use setAchievement! |
String |
getUserId()
|
List<org.jdom.Element> |
getUserInput()
|
Integer |
getUserInputDelay()
|
String |
getUserInputText()
|
boolean |
isHint()
Check the event whether the learner requested a hint |
boolean |
isInputEncodingError()
Check the event whether the learner had a syntax error in his input |
void |
setAchievement(double d)
|
void |
setBookId(String string)
|
void |
setConfidence(int value)
|
void |
setItemId(String string)
|
void |
setMetadata(List<org.jdom.Element> value)
|
void |
setMetadataText(String text)
|
void |
setSessionId(String string)
|
void |
setStepDuration(long duration)
|
void |
setSuccessRate(double d)
Deprecated. SuccessRate is deprecated, use setAchievement() |
void |
setUserId(String string)
|
void |
setUserInput(List<org.jdom.Element> value)
|
void |
setUserInputDelay(Integer value)
|
void |
setUserInputText(String text)
|
String |
toString()
|
| Methods inherited from class org.activemath.events.ActivemathEvent |
|---|
compareTo, dispatchFinished, getGroupId, getId, getSource, getTimestamp, getType, setGroupId, setId, setSource, setTimestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.activemath.events.tags.UserEventTag |
|---|
getGroupId, setGroupId |
| Field Detail |
|---|
public static final String EVENT_TYPE
protected static Logger log
public double achievement
public int confidence
public long stepDuration
public List<String> misconceptions
protected static final org.jdom.Namespace omdocNamespace
| Constructor Detail |
|---|
public ExerciseStepEvent()
public ExerciseStepEvent(String itemId,
List<org.jdom.Element> metadataRecords,
List<org.jdom.Element> input)
| Method Detail |
|---|
public List<org.jdom.Element> getMetadata()
public void setMetadata(List<org.jdom.Element> value)
public String getMetadataText()
public void setMetadataText(String text)
public String getStepId()
public List<org.jdom.Element> getUserInput()
public String getUserInputText()
public void setUserInputText(String text)
public String toString()
toString in class ActivemathEventpublic String getUserId()
getUserId in interface UserEventTagpublic void setUserId(String string)
setUserId in interface UserEventTagpublic String getSessionId()
getSessionId in interface SessionEventTagpublic void setSessionId(String string)
setSessionId in interface SessionEventTagpublic String getItemId()
getItemId in interface ItemEventTaggetItemId in class ActivemathEventpublic void setItemId(String string)
setItemId in interface ItemEventTagsetItemId in class ActivemathEventpublic void setUserInput(List<org.jdom.Element> value)
public List<String> getConceptIds()
public double getSuccessRate()
public double getAchievement()
public Difficulty getDifficulty()
null if none was specified.public Difficulty getDifficulty(LearningContext context)
null if none was specified.public CompetencyLevel getCompetencyLevel()
CompetencyLevel of the exerciseStep this event
occurred in.
CompetencyLevel of the exerciseStep this event
occurred in, or null if none was specified.public List<String> getForIds()
public List<Competency> getCompetencies()
getCognitiveProcesses instead
Competency objects this exerciseStep is for.
Competency objects this exerciseStep is for
(Which could be empty).public List<CognitiveProcess> getCognitiveProcesses()
CognitiveProcess objects this exerciseStep is for.
CognitiveProcess objects this exerciseStep is for
(Which could be empty).public CompetencySystem getCompetencySystem()
public List<String> getMisconceptions()
public List<String> getDiagnosedMisconceptions()
public List<String> getRemediatedMisconceptions()
public int getConfidence()
-1
.public void setConfidence(int value)
public void setSuccessRate(double d)
public void setAchievement(double d)
public void setUserInputDelay(Integer value)
time - (in millis) from presentation of page to first user input (-1
if not measured)public Integer getUserInputDelay()
public boolean isInputEncodingError()
public boolean isHint()
public long getStepDuration()
-1.public void setStepDuration(long duration)
public String getBookId()
getBookId in interface BookEventTagpublic void setBookId(String string)
setBookId in interface BookEventTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||