org.activemath.studentmodel2.data
Class ExerciseResult
java.lang.Object
org.activemath.studentmodel2.data.ExerciseResult
public class ExerciseResult
- extends Object
This class transports information from ExerciseStepEvents
from the event listener to the propagation algorithm, which creates evidences
from the contained data for any relevant knowledge element.
ExerciseResult
public ExerciseResult()
getCompetencySystem
public CompetencySystem getCompetencySystem()
- Returns:
- the competencySystem
setCompetencySystem
public void setCompetencySystem(CompetencySystem competencySystem)
- Parameters:
competencySystem - the competencySystem to set
equals
public boolean equals(Object obj)
- ResultContainer relies heavily on this, using exerciseResults.contain()
- Overrides:
equals in class Object
getMastery
public int getMastery()
getAchievement
public double getAchievement()
setAchievement
public void setAchievement(double achievement)
getExerciseId
public String getExerciseId()
setExerciseId
public void setExerciseId(String exerciseId)
getCompetencyLevel
public CompetencyLevel getCompetencyLevel()
setCompetencyLevel
public void setCompetencyLevel(CompetencyLevel competencyLevel)
toString
public String toString()
- Overrides:
toString in class Object
getDifficulty
public Difficulty getDifficulty()
- Returns:
- the difficulty
setDifficulty
public void setDifficulty(Difficulty difficulty)
- Parameters:
difficulty - the difficulty to set
getStepDuration
public long getStepDuration()
- Returns:
- The step duration in milliseconds (or -1)
setStepDuration
public void setStepDuration(long stepDuration)
- Parameters:
stepDuration - The step duration to set
getConfidence
public int getConfidence()
- Returns:
- The confidence - a value between 0 and 100 - or -1
setConfidence
public void setConfidence(int confidence)
- Parameters:
confidence - The confidence value to set
getEventId
public long getEventId()
- Returns:
- the eventId
setEventId
public void setEventId(long eventId)
- Parameters:
eventId - the eventId to set
getTimestamp
public long getTimestamp()
- Returns:
- the timestamp
setTimestamp
public void setTimestamp(long timestamp)
- Parameters:
timestamp - the timestamp to set
getUserId
public String getUserId()
- Returns:
- the userId
setUserId
public void setUserId(String userId)
- Parameters:
userId - the userId to set
getIRTdifficulty
public double getIRTdifficulty()
- Returns:
- the iRTdifficulty
setIRTdifficulty
public void setIRTdifficulty(double irtdifficulty)
- Parameters:
tdifficulty - the iRTdifficulty to set
getCognitiveProcesses
public Map<CognitiveProcess,Double> getCognitiveProcesses()
- Returns:
- the cognitiveProcesses
setCognitiveProcesses
public void setCognitiveProcesses(Map<CognitiveProcess,Double> cognitiveProcesses)
- Parameters:
cognitiveProcesses - the cognitiveProcesses to set
getConcepts
public Collection<String> getConcepts()
- Returns:
- A set of concepts related with this exercise result
setConcepts
public void setConcepts(Collection<String> concepts)
- Parameters:
concepts - The new set of concepts to which this result belongs
getExerciseType
public ExerciseType getExerciseType()
- Returns:
- the exercise_type
setExerciseType
public void setExerciseType(ExerciseType exercise_type)
- Parameters:
exercise_type - the exercise_type to set