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


Field Summary
 
Fields inherited from interface org.browsecode.helpers.reorderablelistpanel.ReorderableListModel
INSERTED_FROM_DELETED_HERE, INSERTED_FROM_ELSEWHERE
 
Method Summary
 IntegerDataBit getCacheRandomizeOrder()
           
 java.util.Vector<OneChoiceDataBitSet> getChoices()
          DO NOT modify the Vector after you get it!
 java.util.Vector<OneChoiceDataBitSet> getNewChoicesCopy()
           
 IntegerDataBit getNumberOfChoices()
          The number of scale choices there are (i.e. this number shows whether it's 1-3 or 1-5, etc).
 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
 int getNumQuestionsUsingThisSet()
           
 IntegerDataBit getRandomizeOrder()
           
 StringDataBit getType()
           
 
Methods inherited from interface cmu.survey.editor.data.DataBitSet
hasBeenModified
 
Methods inherited from interface org.browsecode.helpers.reorderablelistpanel.ReorderableListModel
addReorderableChangeListener, canItemBeMovedElsewhere, deleteItem, getItemCount, insertNewItemAt, iterator, moveItemElsewhere, moveItemToIndex, removeReorderableChangeListener
 
Methods inherited from interface org.browsecode.helpers.reorderablelistpanel.Copyable
copyTo
 
Methods inherited from interface org.browsecode.helpers.reorderablelistpanel.Moveable
moveTo
 

Method Detail

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()