cmu.survey.editor.data
Interface ChoicesDataBitSet
- All Superinterfaces:
- Copyable, DataBitSet, Moveable, ReorderableListModel<OneChoiceDataBitSet>
- All Known Implementing Classes:
- ChoicesDataBitSetSQL
public interface ChoicesDataBitSet
- extends DataBitSet, ReorderableListModel<OneChoiceDataBitSet>, Copyable, Moveable
Methods inherited from interface org.browsecode.helpers.reorderablelistpanel.Copyable |
copyTo |
Methods inherited from interface org.browsecode.helpers.reorderablelistpanel.Moveable |
moveTo |
getChoices
java.util.Vector<OneChoiceDataBitSet> getChoices()
- DO NOT modify the Vector after you get it! All modifications should be done through calls to ChoicesDataBitSet, not to the Vector.
Changes made to the Vector will not affect this class.
- Returns:
- Vector of OneChoiceDataBitSet
getType
StringDataBit getType()
getNumberOfChoices
IntegerDataBit getNumberOfChoices()
- The number of scale choices there are (i.e. this number shows whether it's 1-3 or 1-5, etc). This should only be called when the choices type is CHOICE_SCALE.
- Returns:
getNumberOfChoicesDontThrowError
IntegerDataBit getNumberOfChoicesDontThrowError()
- The same as getNumberOfChoices() but it ignores whether or not it's a CHOICE_SCALE -- only use this if you want to know what the choices are when you know it's a CHOICE_LIST
- Returns:
getNumQuestionsUsingThisSet
int getNumQuestionsUsingThisSet()
getNewChoicesCopy
java.util.Vector<OneChoiceDataBitSet> getNewChoicesCopy()
getRandomizeOrder
IntegerDataBit getRandomizeOrder()
getCacheRandomizeOrder
IntegerDataBit getCacheRandomizeOrder()