cmu.survey.editor.data
Interface QuestionDataBitSet

All Superinterfaces:
DataBitSet
All Known Implementing Classes:
QuestionDataBitSetSQL, QuestionDataBitSetTable

public interface QuestionDataBitSet
extends DataBitSet


Method Summary
 AuxillaryQuestionPartSet getAuxillaryParts()
          Gets a AuxillaryQuestionPartSet which has a list of the auxillary question parts.
 StringDataBit getBackgroundColor()
           
 IntegerDataBit getCacheRandomizeInnerOrder()
           
 ChoicesDataBitSet getChoices()
           
 StringDataBit getEndQuestion()
          HTML text that shows at the end of the question.
 java.lang.String getErrorDescription(StringDataBit answersTable)
           
 StringDataBit getHelpText()
          HTML text that shows when you click a little "?".
 IntegerDataBit getPageIDInsideThis()
          Only required when the type is PAGE.
 Page getPageInsideThis()
           
 IntegerDataBit getRandomizeInnerOrder()
           
 boolean getSavesToDatabase()
           
 IntegerDataBit getSingleQuestionFlag()
          This means one of two things.
 StringDataBit getStartQuestion()
          HTML text that shows at the beginning of the question.
 StringDataBit getType()
           
 VariableDataBitSet getVariable()
           
 boolean hasError(StringDataBit answersTable)
           
 boolean isNew()
           
 
Methods inherited from interface cmu.survey.editor.data.DataBitSet
hasBeenModified
 

Method Detail

getStartQuestion

StringDataBit getStartQuestion()
HTML text that shows at the beginning of the question.

Returns:

getEndQuestion

StringDataBit getEndQuestion()
HTML text that shows at the end of the question.

Returns:

getHelpText

StringDataBit getHelpText()
HTML text that shows when you click a little "?".

Returns:

getType

StringDataBit getType()

getSavesToDatabase

boolean getSavesToDatabase()

getVariable

VariableDataBitSet getVariable()

getAuxillaryParts

AuxillaryQuestionPartSet getAuxillaryParts()
Gets a AuxillaryQuestionPartSet which has a list of the auxillary question parts. These parts are parts of the question that are used for rendering the question, mostly for Abstract questions.

Returns:

getBackgroundColor

StringDataBit getBackgroundColor()

getPageIDInsideThis

IntegerDataBit getPageIDInsideThis()
Only required when the type is PAGE.

Returns:

getPageInsideThis

Page getPageInsideThis()

getSingleQuestionFlag

IntegerDataBit getSingleQuestionFlag()
This means one of two things. (a) If the type is a radio button or text field, this is whether this one should be auto-submitted. (b) If this is a group, this is whether it should show only one item from the list. (c) If it's any other type, this is ignored.

Returns:

getRandomizeInnerOrder

IntegerDataBit getRandomizeInnerOrder()

getCacheRandomizeInnerOrder

IntegerDataBit getCacheRandomizeInnerOrder()

getChoices

ChoicesDataBitSet getChoices()
Returns:
the choices this question has, if it has choices at all. If this question type does not have choices, this returns null.

isNew

boolean isNew()

hasError

boolean hasError(StringDataBit answersTable)

getErrorDescription

java.lang.String getErrorDescription(StringDataBit answersTable)