|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.evaluation.ExerciseEval
public class ExerciseEval
| Constructor Summary | |
|---|---|
ExerciseEval(String name)
Constructor |
|
| Method Summary | |
|---|---|
void |
addCorrect()
Increment the correct answers count |
void |
addStudentAnswer(String studentId,
boolean answer)
|
void |
addWrong()
Increment the wrong answers count |
CompetencyLevel |
getCompetencyLevel()
|
int |
getCorrectAnswers()
|
Difficulty |
getDifficulty()
|
String |
getExerciseId()
|
List |
getForIds()
|
double |
getScore()
Get the score of the student (correctAnswers / allAnswers) |
int |
getWrongAnswers()
|
void |
setCompetencyLevel(CompetencyLevel competencyLevel)
|
void |
setDifficulty(Difficulty difficulty)
|
void |
setForIds(List forIds)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExerciseEval(String name)
name - | Method Detail |
|---|
public double getScore()
public void addStudentAnswer(String studentId,
boolean answer)
public void addCorrect()
public void addWrong()
public int getCorrectAnswers()
public String getExerciseId()
public int getWrongAnswers()
public CompetencyLevel getCompetencyLevel()
public void setCompetencyLevel(CompetencyLevel competencyLevel)
competencyLevel - the competencyLevel to setpublic Difficulty getDifficulty()
public void setDifficulty(Difficulty difficulty)
difficulty - the difficulty to setpublic List getForIds()
public void setForIds(List forIds)
forIds - the forIds to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||