org.sakaiproject.tool.assessment.samlite.api
Class Question
java.lang.Object
org.sakaiproject.tool.assessment.samlite.api.Question
public class Question
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNDEFINED_QUESTION
public static final int UNDEFINED_QUESTION
- See Also:
- Constant Field Values
MULTIPLE_CHOICE_QUESTION
public static final int MULTIPLE_CHOICE_QUESTION
- See Also:
- Constant Field Values
MULTIPLE_CHOICE_MULTIPLE_ANSWER_QUESTION
public static final int MULTIPLE_CHOICE_MULTIPLE_ANSWER_QUESTION
- See Also:
- Constant Field Values
FILL_IN_THE_BLANK_QUESTION
public static final int FILL_IN_THE_BLANK_QUESTION
- See Also:
- Constant Field Values
TRUE_FALSE_QUESTION
public static final int TRUE_FALSE_QUESTION
- See Also:
- Constant Field Values
SHORT_ESSAY_QUESTION
public static final int SHORT_ESSAY_QUESTION
- See Also:
- Constant Field Values
Question
public Question()
addAnswer
public void addAnswer(String id,
String text,
boolean isCorrect)
getAnswers
public List getAnswers()
setAnswers
public void setAnswers(List answers)
getCorrectAnswer
public String getCorrectAnswer()
setCorrectAnswer
public void setCorrectAnswer(String correctAnswer)
getQuestion
public String getQuestion()
append
public void append(String questionSegment)
getQuestionNumber
public int getQuestionNumber()
setQuestionNumber
public void setQuestionNumber(int questionNumber)
getQuestionPoints
public String getQuestionPoints()
setQuestionPoints
public void setQuestionPoints(String questionPoints)
hasPoints
public boolean hasPoints()
getQuestionType
public int getQuestionType()
setQuestionType
public void setQuestionType(int questionType)
getQuestionTypeAsString
public String getQuestionTypeAsString()
setQuestionTypeAsString
public void setQuestionTypeAsString(String questionTypeAsString)
Copyright © 2005-2013 Sakai Project. All Rights Reserved.