org.sakaiproject.importer.impl.importables
Class AssessmentQuestion

java.lang.Object
  extended by org.sakaiproject.importer.impl.importables.AbstractImportable
      extended by org.sakaiproject.importer.impl.importables.AssessmentQuestion
All Implemented Interfaces:
HasSequence, Importable

public class AssessmentQuestion
extends AbstractImportable


Field Summary
static int ESSAY
           
static int FILE_UPLOAD
           
static int FILL_BLANK
           
static int MATCHING
           
static int MULTIPLE_ANSWER
           
static int MULTIPLE_CHOICE
           
static int ORDERING
           
static int SURVEY
           
static int TRUE_FALSE
           
 
Fields inherited from class org.sakaiproject.importer.impl.importables.AbstractImportable
contextPath, guid, legacyGroup, parent, sequenceNum
 
Constructor Summary
AssessmentQuestion()
           
 
Method Summary
 Map getAnswers()
           
 Map getChoices()
           
 Set getCorrectAnswerIDs()
           
 String getFeedbackWhenCorrect()
           
 String getFeedbackWhenIncorrect()
           
 Float getPointValue()
           
 Integer getPosition()
           
 String getQuestionText()
           
 int getQuestionType()
           
 String getTypeName()
           
 void setAnswers(Map answers)
           
 void setChoices(Map choices)
           
 void setCorrectAnswerIDs(Set correctAnswerIDs)
           
 void setFeedbackWhenCorrect(String feedbackWhenCorrect)
           
 void setFeedbackWhenIncorrect(String feedbackWhenIncorrect)
           
 void setPointValue(Float pointValue)
           
 void setPosition(Integer position)
           
 void setQuestionText(String questionText)
           
 void setQuestionType(int questionType)
           
 
Methods inherited from class org.sakaiproject.importer.impl.importables.AbstractImportable
getContextPath, getGuid, getLegacyGroup, getParent, getSequenceNum, setContextPath, setGuid, setLegacyGroup, setParent, setSequenceNum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

AssessmentQuestion

public AssessmentQuestion()
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 Float getPointValue()

setPointValue

public void setPointValue(Float pointValue)


Copyright © 2005-2012 Sakai Foundation. All Rights Reserved.