cmu.survey.data
Class TableFormat.TableFormatStubAndDoMoreAddRow

java.lang.Object
  extended by cmu.survey.data.TableFormat.TableFormatStub
      extended by cmu.survey.data.TableFormat.TableFormatStubAndDoMoreAddRow
All Implemented Interfaces:
TableFormat, TableFormat.TableFormatAndDoMore
Enclosing interface:
TableFormat

public static class TableFormat.TableFormatStubAndDoMoreAddRow
extends TableFormat.TableFormatStub
implements TableFormat.TableFormatAndDoMore

Adds a default row of data automatically when the table is created.


Nested Class Summary
 
Nested classes/interfaces inherited from interface cmu.survey.data.TableFormat
TableFormat.ColumnFormat, TableFormat.ColumnFormatKnowHowToCreate, TableFormat.ColumnFormatRenamed, TableFormat.ColumnFormatStub, TableFormat.TableFormatAndDoMore, TableFormat.TableFormatStub, TableFormat.TableFormatStubAndDoMoreAddRow
 
Constructor Summary
TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName, java.util.List<TableFormat.ColumnFormat> columns, java.util.Vector<? extends java.lang.Object> data)
           
TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName, TableFormat.ColumnFormat[] columns, int primaryKeyColumnIndex, int version, java.util.Vector data)
           
TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName, TableFormat.ColumnFormat[] columns, int primaryKeyColumnIndex, java.util.Vector<? extends java.lang.Object> data)
           
TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName, TableFormat.ColumnFormat[] columns, java.util.Vector<? extends java.lang.Object> data)
           
TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName, java.util.Vector<? extends java.lang.Object> data)
           
 
Method Summary
 boolean doAfterInstall(DataTableModel dataTableModel)
           
 void setData(java.util.Vector<? extends java.lang.Object> data)
           
 
Methods inherited from class cmu.survey.data.TableFormat.TableFormatStub
getColumn, getColumns, getDefaultData, getName, getPrimaryKeyColumnIndex, getVersion, setColumns, setDefaultData, setName, setPrimaryKeyColumnIndex, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cmu.survey.data.TableFormat
getColumn, getColumns, getDefaultData, getName, getPrimaryKeyColumnIndex, getVersion
 

Constructor Detail

TableFormat.TableFormatStubAndDoMoreAddRow

public TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName,
                                                  java.util.Vector<? extends java.lang.Object> data)

TableFormat.TableFormatStubAndDoMoreAddRow

public TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName,
                                                  TableFormat.ColumnFormat[] columns,
                                                  java.util.Vector<? extends java.lang.Object> data)

TableFormat.TableFormatStubAndDoMoreAddRow

public TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName,
                                                  TableFormat.ColumnFormat[] columns,
                                                  int primaryKeyColumnIndex,
                                                  java.util.Vector<? extends java.lang.Object> data)

TableFormat.TableFormatStubAndDoMoreAddRow

public TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName,
                                                  TableFormat.ColumnFormat[] columns,
                                                  int primaryKeyColumnIndex,
                                                  int version,
                                                  java.util.Vector data)

TableFormat.TableFormatStubAndDoMoreAddRow

public TableFormat.TableFormatStubAndDoMoreAddRow(java.lang.String tableName,
                                                  java.util.List<TableFormat.ColumnFormat> columns,
                                                  java.util.Vector<? extends java.lang.Object> data)
Method Detail

setData

public void setData(java.util.Vector<? extends java.lang.Object> data)

doAfterInstall

public boolean doAfterInstall(DataTableModel dataTableModel)
Specified by:
doAfterInstall in interface TableFormat.TableFormatAndDoMore