org.activemath.studentmodel2.data
Class EvidenceData

java.lang.Object
  extended by org.activemath.studentmodel2.data.EvidenceData

public class EvidenceData
extends Object

This class contains evidence in the sense of an exercise result (or part of it) for a given node in the knowledge base (mBase).
It contains information about:

See Also:
EvidenceContainer

Constructor Summary
EvidenceData()
          Default constructor (empty)
EvidenceData(ExerciseResult exResult, CognitiveProcess cognitiveProcess, String conceptId)
          Constructor
 
Method Summary
 double getAchievement()
           
 CognitiveProcess getCognitiveProcess()
           
 CompetencyLevel getCompetencyLevel()
           
 String getConceptId()
           
 int getConfidence()
           
 Difficulty getDifficulty()
           
 long getEventId()
           
 String getExerciseId()
           
 double getIRTdifficulty()
           
 String getKey()
          Creates a key consisting of:
userId "+" competencyID "+" conceptId "+" eventId
 int getMastery()
           
 long getStepDuration()
           
 long getTimestamp()
           
 String getUserId()
           
 void setCognitiveProcess(CognitiveProcess cognitiveProcess)
          Sets the cognitive process
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvidenceData

public EvidenceData()
Default constructor (empty)


EvidenceData

public EvidenceData(ExerciseResult exResult,
                    CognitiveProcess cognitiveProcess,
                    String conceptId)
Constructor

Parameters:
exResult - an exercise result containing information about the outcome of an exercise done by a learner
cognitiveProcess - the competency the exercise result is for
conceptId - the corresponding concept id
Method Detail

getAchievement

public double getAchievement()
Returns:
the achievement

getMastery

public int getMastery()

getCognitiveProcess

public CognitiveProcess getCognitiveProcess()
Returns:
the cognitiveProcess

setCognitiveProcess

public void setCognitiveProcess(CognitiveProcess cognitiveProcess)
Sets the cognitive process

Parameters:
cognitiveProcess -

getCompetencyLevel

public CompetencyLevel getCompetencyLevel()
Returns:
the competencyLevel

getConceptId

public String getConceptId()
Returns:
the conceptId

getDifficulty

public Difficulty getDifficulty()
Returns:
the difficulty

getEventId

public long getEventId()
Returns:
the eventId

getExerciseId

public String getExerciseId()
Returns:
the exerciseId

getTimestamp

public long getTimestamp()
Returns:
the timestamp

getUserId

public String getUserId()
Returns:
the userId

getIRTdifficulty

public double getIRTdifficulty()
Returns:
the IRTdifficulty (item value of an exercise)

getConfidence

public int getConfidence()
Returns:
Confidence value [0,100] or -1

getStepDuration

public long getStepDuration()
Returns:
Step-Duration, -1 if unknown

getKey

public String getKey()
Creates a key consisting of:
userId "+" competencyID "+" conceptId "+" eventId


toString

public String toString()
Overrides:
toString in class Object