private void handleAutoNumbersForAdd(Object[] row,WriteRowState writeRowState) throws IOException {
  if (_autoNumColumns.isEmpty()) {
    return;
  }
  boolean enableInsert=isAllowAutoNumberInsert();
  writeRowState.resetAutoNumber();
  for (  ColumnImpl col : _autoNumColumns) {
    Object inRowValue=getInputAutoNumberRowValue(enableInsert,col,row);
    ColumnImpl.AutoNumberGenerator autoNumGen=col.getAutoNumberGenerator();
    Object rowValue=((inRowValue == null) ? autoNumGen.getNext(writeRowState) : autoNumGen.handleInsert(writeRowState,inRowValue));
    col.setRowValue(row,rowValue);
  }
}

private void handleAutoNumbersForAdd ( Object [ ] row , WriteRowState writeRowState ) throws IOException { if ( _autoNumColumns . isEmpty ( ) ) { return ; } boolean enableInsert = isAllowAutoNumberInsert ( ) ; writeRowState . resetAutoNumber ( ) ; for ( ColumnImpl col : _autoNumColumns ) { Object inRowValue = getInputAutoNumberRowValue ( enableInsert , col , row ) ; ColumnImpl . AutoNumberGenerator autoNumGen = col . getAutoNumberGenerator ( ) ; Object rowValue = ( ( inRowValue == null ) ? autoNumGen . getNext ( writeRowState ) : autoNumGen . handleInsert ( writeRowState , inRowValue ) ) ; col . setRowValue ( row , rowValue ) ; } }
fill in all autonumber column values for add .
