testtool.component.question
Class Question

java.lang.Object
  extended by testtool.component.question.Question
Direct Known Subclasses:
FillInQuestion, MultipleChoiceQuestion, ProgramQuestion, TrueFalseQuestion

public abstract class Question
extends java.lang.Object

Derived from functional requirements Section 2.3. Based on the common properties of a test question and the columns in the tabular Question Bank.


Nested Class Summary
static class Question.QuestionType
           
 
Field Summary
private  Teacher author
           
private  Course course
           
private  java.util.Calendar created
           
private  int difficulty
           
private  int estimatedTime
           
private  int ID
           
private  java.util.List<java.lang.String> keywords
           
private  java.util.Calendar lastUsed
           
 java.lang.String questionText
           
 Score score
           
 
Constructor Summary
Question()
           
 
Method Summary
 int getID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

questionText

public java.lang.String questionText

score

public Score score

estimatedTime

private int estimatedTime

difficulty

private int difficulty

keywords

private java.util.List<java.lang.String> keywords

created

private java.util.Calendar created

lastUsed

private java.util.Calendar lastUsed

course

private Course course

author

private Teacher author

ID

private int ID
Constructor Detail

Question

public Question()
Method Detail

getID

public int getID()