org.activemath.webapp.exercises.mcq
Class MCQExercise

java.lang.Object
  extended by org.activemath.webapp.exercises.mcq.MCQExercise

public class MCQExercise
extends Object


Field Summary
protected static Category log
          The logger for this class
 
Constructor Summary
MCQExercise(String id, Formatter formatter)
           
 
Method Summary
 Choice[] getChoices()
           
 int getNumChoices()
           
 int getNumCorrectChoices()
           
 String getQuestion()
           
 String getTitle()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Category log
The logger for this class

Constructor Detail

MCQExercise

public MCQExercise(String id,
                   Formatter formatter)
Method Detail

getTitle

public String getTitle()

getQuestion

public String getQuestion()

getChoices

public Choice[] getChoices()

getNumChoices

public int getNumChoices()

getNumCorrectChoices

public int getNumCorrectChoices()