public class ChooseNAnswer extends Answer<ChooseNAnswerValuePart,ChooseNAnswerValue,ChooseNResponseValue>
| Modifier | Constructor and Description |
|---|---|
|
ChooseNAnswer(java.lang.String uid) |
protected |
ChooseNAnswer(java.lang.String classType,
java.lang.String uid) |
| Modifier and Type | Method and Description |
|---|---|
AnswerEvalType |
getAnswerType()
Returns the evaluation type for this answer.
|
java.lang.String |
getAnswerValue()
Returns the data value for this answer.
|
ChooseNAnswerValuePart |
getValuePart()
Returns the single value part for this answer.
|
protected boolean |
isMatch(ChooseNResponseValue response,
java.util.Map<java.lang.String,java.lang.String> args)
Determines whether the provided response (that is to say the student's response to a question)
matches this Answer.
|
getBuggyMessage, getIsCorrect, getTeacherValue, isCorrect, isMatchDefault, preventIsMatch, setBuggyMessage, setCorrect, setTeacherValue, toStringgetDescription, getName, setDescription, setNamecreateKey, createKey, equals, extractType, extractUID, getKey, getShortKey, getShortKey, getType, getUID, getValidatorUtilities, setValidatorUtilities, validate, validateKeypublic ChooseNAnswer(java.lang.String uid)
protected ChooseNAnswer(java.lang.String classType,
java.lang.String uid)
protected boolean isMatch(ChooseNResponseValue response, java.util.Map<java.lang.String,java.lang.String> args)
AnswerisMatch in class Answer<ChooseNAnswerValuePart,ChooseNAnswerValue,ChooseNResponseValue>response - A subclass of AnswerValueargs - Map for problem specific properties that will
be used in calculating correctness for the problem.#isMatchDefault(StudentResponseValue),
#isCorrect(StudentResponseValue)public ChooseNAnswerValuePart getValuePart()
getAnswerValue(),
getAnswerType()public java.lang.String getAnswerValue()
getAnswerType()public AnswerEvalType getAnswerType()
getAnswerValue()