cmu.survey.data
Class DatabaseConstants.AuxillaryOptions
java.lang.Object
cmu.survey.data.DatabaseConstants.AuxillaryOptions
- Enclosing class:
- DatabaseConstants
public static final class DatabaseConstants.AuxillaryOptions
- extends java.lang.Object
See QuestionsAuxillaryOptionTypes.xls (in this folder) for a spreadsheet of most of these, with details about which columns from the database they should get pulled from.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_VALUE
public static final java.lang.String DEFAULT_VALUE
- See Also:
- Constant Field Values
OTHER_AUXILLARY_FEATURES
public static final java.lang.String OTHER_AUXILLARY_FEATURES
- See Also:
- Constant Field Values
HORIZONTAL
public static final java.lang.String HORIZONTAL
- See Also:
- Constant Field Values
OTHER_TEXT_FIELD
public static final java.lang.String OTHER_TEXT_FIELD
- See Also:
- Constant Field Values
COLUMNS
public static final java.lang.String COLUMNS
- See Also:
- Constant Field Values
ROWS
public static final java.lang.String ROWS
- See Also:
- Constant Field Values
NEW_COLUMN
public static final java.lang.String NEW_COLUMN
- See Also:
- Constant Field Values
DATABASE_FIELD
public static final java.lang.String DATABASE_FIELD
- See Also:
- Constant Field Values
PLAIN_TEXT
public static final java.lang.String PLAIN_TEXT
- See Also:
- Constant Field Values
DatabaseConstants.AuxillaryOptions
public DatabaseConstants.AuxillaryOptions()
getAllTypes
public static java.lang.String[] getAllTypes()
getQuestionPartTypes
public static java.lang.String[] getQuestionPartTypes()
getAllPartTypesAndFriendlyNames
public static java.lang.String[][] getAllPartTypesAndFriendlyNames()
isAQuestionPart
public static boolean isAQuestionPart(java.lang.String type)
- Returns whether this type is a "question part" -- see AuxillaryQuestionPart.
These are visual parts of the question that are primarily used by Abstract questions.
- Parameters:
type
-
- Returns:
getQuestionPartFriendlyName
public static java.lang.String getQuestionPartFriendlyName(java.lang.String type)
hasVariable
public static boolean hasVariable(java.lang.String type)
hasSecondVariable
public static boolean hasSecondVariable(java.lang.String type)
isAValidAuxillaryOptionType
public static boolean isAValidAuxillaryOptionType(java.lang.String type)