public class Question extends HibernateObject
QALink
Questions can also be links or image capture eventsModifier and Type | Class and Description |
---|---|
static class |
Question.CustomResponseType |
static class |
Question.QAType
The type of question to be asked.
|
Modifier and Type | Field and Description |
---|---|
int |
allowCustom
Boolean indicating whether a custom response can be provided (typed and not selected)
|
java.lang.String |
qaGroup
The group of questions that this belongs to
|
java.lang.String |
question
The question to be asked
|
java.lang.String |
textColor
Overrides the color of the text
|
int |
type
The
Question.QAType for this question |
ID
Constructor and Description |
---|
Question() |
Question(java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
java.awt.Color |
getActualTextColor() |
int |
getAllowCustom() |
Question.CustomResponseType |
getAllowCustomEnum() |
java.util.Date |
getDeleted() |
java.lang.String |
getQaGroup() |
java.lang.String |
getQuestion() |
java.lang.String |
getTextColor() |
int |
getType() |
Question.QAType |
getTypeEnum() |
void |
setActualTextColor(java.awt.Color color) |
void |
setAllowCustom(int allowCustom) |
void |
setDeleted(java.util.Date deleted) |
void |
setQaGroup(java.lang.String qaGroup) |
void |
setQuestion(java.lang.String question) |
void |
setTextColor(java.lang.String textColor) |
void |
setType(int type) |
java.lang.String |
toString() |
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
public java.lang.String question
public int allowCustom
public int type
Question.QAType
for this questionpublic java.lang.String qaGroup
public java.lang.String textColor
public java.lang.String getQuestion()
public void setQuestion(java.lang.String question)
public int getAllowCustom()
public void setAllowCustom(int allowCustom)
public Question.CustomResponseType getAllowCustomEnum()
public java.util.Date getDeleted()
public void setDeleted(java.util.Date deleted)
public java.lang.String toString()
toString
in class java.lang.Object
public int getType()
public void setType(int type)
public Question.QAType getTypeEnum()
public java.lang.String getQaGroup()
public void setQaGroup(java.lang.String qaGroup)
public java.lang.String getTextColor()
public void setTextColor(java.lang.String textColor)
public java.awt.Color getActualTextColor()
public void setActualTextColor(java.awt.Color color)