cmu.survey.editor.data.table
Class PageTable.ReorderableTableQuestion

java.lang.Object
  extended by cmu.survey.editor.data.table.PageTable.ReorderableTableQuestion
All Implemented Interfaces:
ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet>
Direct Known Subclasses:
PageSQL.ReorderableSQLQuestion
Enclosing class:
PageTable

public abstract class PageTable.ReorderableTableQuestion
extends java.lang.Object
implements ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet>


Field Summary
protected  IntegerDataBit orderIndex
           
protected  QuestionDataBitSetTable question
           
 java.lang.Integer uniqueRowID
           
 
Constructor Summary
PageTable.ReorderableTableQuestion(QuestionDataBitSetTable newQuestion)
           
PageTable.ReorderableTableQuestion(QuestionDataBitSetTable newQuestion, int indexAt)
           
PageTable.ReorderableTableQuestion(QuestionDataBitSetTable newQuestion, java.lang.Integer indexAt, java.lang.Integer uniqueRowID)
           
 
Method Summary
 IntegerDataBit getOrderIndex()
           
 QuestionDataBitSetTable getQuestion()
           
 QuestionDataBitSet getReorderableItem()
           
 boolean hasBeenModified()
           
 boolean isNewToThisPage()
           
abstract  void moveToThis()
           
abstract  void save()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orderIndex

protected IntegerDataBit orderIndex

uniqueRowID

public java.lang.Integer uniqueRowID

question

protected QuestionDataBitSetTable question
Constructor Detail

PageTable.ReorderableTableQuestion

public PageTable.ReorderableTableQuestion(QuestionDataBitSetTable newQuestion)

PageTable.ReorderableTableQuestion

public PageTable.ReorderableTableQuestion(QuestionDataBitSetTable newQuestion,
                                          int indexAt)

PageTable.ReorderableTableQuestion

public PageTable.ReorderableTableQuestion(QuestionDataBitSetTable newQuestion,
                                          java.lang.Integer indexAt,
                                          java.lang.Integer uniqueRowID)
Method Detail

getReorderableItem

public QuestionDataBitSet getReorderableItem()
Specified by:
getReorderableItem in interface ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet>

getQuestion

public QuestionDataBitSetTable getQuestion()

getOrderIndex

public IntegerDataBit getOrderIndex()
Specified by:
getOrderIndex in interface ReorderableListModelWithOrderIndexStub.ReorderableObject<QuestionDataBitSet>

isNewToThisPage

public boolean isNewToThisPage()

hasBeenModified

public boolean hasBeenModified()

moveToThis

public abstract void moveToThis()

save

public abstract void save()