org.activemath.feedback.symptoms
Class Solution
java.lang.Object
org.activemath.feedback.symptoms.Symptom
org.activemath.feedback.symptoms.Solution
public class Solution
- extends Symptom
|
Constructor Summary |
Solution(String exercise,
String rating)
Creates a solution object representing the fact that the user tried to solve
the given exercise with the given rating. |
| Methods inherited from class org.activemath.feedback.symptoms.Symptom |
render |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Solution
public Solution(String exercise,
String rating)
- Creates a solution object representing the fact that the user tried to solve
the given
exercise with the given rating.
- Parameters:
exercise - the exercise that the user tried to solverating - the rating she got. (one of good, average or poor)
renderParams
protected String renderParams()
- Specified by:
renderParams in class Symptom
getExercise
public String getExercise()
- Returns:
- Returns the exercise.
getRating
public String getRating()
- Returns:
- Returns the rating.