Class AssessmentQuestion
- java.lang.Object
-
- org.sakaiproject.importer.impl.importables.AbstractImportable
-
- org.sakaiproject.importer.impl.importables.AssessmentQuestion
-
- All Implemented Interfaces:
HasSequence,Importable
public class AssessmentQuestion extends AbstractImportable
-
-
Field Summary
Fields Modifier and Type Field Description static intESSAYstatic intFILE_UPLOADstatic intFILL_BLANKstatic intMATCHINGstatic intMULTIPLE_ANSWERstatic intMULTIPLE_CHOICEstatic intORDERINGstatic intSURVEYstatic intTRUE_FALSE-
Fields inherited from class org.sakaiproject.importer.impl.importables.AbstractImportable
contextPath, guid, legacyGroup, parent, sequenceNum
-
-
Constructor Summary
Constructors Constructor Description AssessmentQuestion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MapgetAnswers()MapgetChoices()SetgetCorrectAnswerIDs()StringgetFeedbackWhenCorrect()StringgetFeedbackWhenIncorrect()DoublegetPointValue()IntegergetPosition()StringgetQuestionText()intgetQuestionType()StringgetTypeName()voidsetAnswers(Map answers)voidsetChoices(Map choices)voidsetCorrectAnswerIDs(Set correctAnswerIDs)voidsetFeedbackWhenCorrect(String feedbackWhenCorrect)voidsetFeedbackWhenIncorrect(String feedbackWhenIncorrect)voidsetPointValue(Double pointValue)voidsetPosition(Integer position)voidsetQuestionText(String questionText)voidsetQuestionType(int questionType)-
Methods inherited from class org.sakaiproject.importer.impl.importables.AbstractImportable
getContextPath, getGuid, getLegacyGroup, getParent, getSequenceNum, setContextPath, setGuid, setLegacyGroup, setParent, setSequenceNum
-
-
-
-
Field Detail
-
MULTIPLE_CHOICE
public static int MULTIPLE_CHOICE
-
MULTIPLE_ANSWER
public static int MULTIPLE_ANSWER
-
SURVEY
public static int SURVEY
-
TRUE_FALSE
public static int TRUE_FALSE
-
ESSAY
public static int ESSAY
-
FILE_UPLOAD
public static int FILE_UPLOAD
-
FILL_BLANK
public static int FILL_BLANK
-
MATCHING
public static int MATCHING
-
ORDERING
public static int ORDERING
-
-
Method Detail
-
getPosition
public Integer getPosition()
-
setPosition
public void setPosition(Integer position)
-
getTypeName
public String getTypeName()
-
getAnswers
public Map getAnswers()
-
setAnswers
public void setAnswers(Map answers)
-
getCorrectAnswerIDs
public Set getCorrectAnswerIDs()
-
setCorrectAnswerIDs
public void setCorrectAnswerIDs(Set correctAnswerIDs)
-
getQuestionText
public String getQuestionText()
-
setQuestionText
public void setQuestionText(String questionText)
-
getQuestionType
public int getQuestionType()
-
setQuestionType
public void setQuestionType(int questionType)
-
getFeedbackWhenCorrect
public String getFeedbackWhenCorrect()
-
setFeedbackWhenCorrect
public void setFeedbackWhenCorrect(String feedbackWhenCorrect)
-
getFeedbackWhenIncorrect
public String getFeedbackWhenIncorrect()
-
setFeedbackWhenIncorrect
public void setFeedbackWhenIncorrect(String feedbackWhenIncorrect)
-
getChoices
public Map getChoices()
-
setChoices
public void setChoices(Map choices)
-
getPointValue
public Double getPointValue()
-
setPointValue
public void setPointValue(Double pointValue)
-
-