public abstract class Question
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
course
Course category
|
private java.lang.String |
diagramPath
Location of graphic included for the question
|
private int |
difficulty
Difficulty level of question
|
private java.lang.String |
keyword
Keyword specifiers for tag searching
|
private java.lang.String |
questionText
Test question text
|
private int |
time
Time limit for taking the test
|
Constructor and Description |
---|
Question() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCourse()
Gets the Course classification from the question
|
java.lang.String |
getDiagramPath()
Gets the Diagram Path for the image of the question
|
int |
getDifficulty()
Gets the difficulty setting for the question
|
java.lang.String |
getKeyword()
Gets the Keyword tags of the question
|
java.lang.String |
getQuestionText()
Gets the text of what the question displays
|
int |
getTime()
Gets time limit on the question
|
void |
setCourse(java.lang.String c)
Sets the Course classification for the question
|
void |
setDiagramPath(java.lang.String path)
Sets the Diagram Path for the image of the question
|
void |
setDifficulty(int d)
Sets the difficulty setting for the question
|
void |
setKeyword(java.lang.String k)
Sets the Keyword of the question
|
void |
setQuestionText(java.lang.String text)
Sets the text of the question
|
void |
setTime(int t)
Sets time limit on the question
|
private java.lang.String course
private int time
private java.lang.String keyword
private int difficulty
private java.lang.String diagramPath
private java.lang.String questionText
public java.lang.String getCourse()
public void setCourse(java.lang.String c)
c
- String that describes Course classifcationpublic int getTime()
public void setTime(int t)
t
- the time limit for the questionpublic java.lang.String getKeyword()
public void setKeyword(java.lang.String k)
k
- The Keyword tag for the questionpublic int getDifficulty()
public void setDifficulty(int d)
d
- The difficulty setting for the questionpublic java.lang.String getDiagramPath()
public void setDiagramPath(java.lang.String path)
path
- the location of the imagepublic java.lang.String getQuestionText()
public void setQuestionText(java.lang.String text)
text
- The String that holds the desired question