public abstract class ColumnImpl.AutoNumberGenerator extends Object
Modifier and Type | Method and Description |
---|---|
abstract Object |
getLast()
Returns the last autonumber generated by this generator.
|
abstract Object |
getNext(com.healthmarketscience.jackcess.impl.TableImpl.WriteRowState writeRowState)
Returns the next autonumber for this generator.
|
abstract DataType |
getType()
Returns the type of values generated by this generator.
|
abstract Object |
handleInsert(com.healthmarketscience.jackcess.impl.TableImpl.WriteRowState writeRowState,
Object inRowValue)
Returns a valid autonumber for this generator.
|
abstract void |
restoreLast(Object last)
Restores a previous autonumber generated by this generator.
|
public abstract Object getLast()
Table.addRow(java.lang.Object...)
, otherwise undefined.public abstract Object getNext(com.healthmarketscience.jackcess.impl.TableImpl.WriteRowState writeRowState)
Warning, calling this externally will result in this value being "lost" for the table.
public abstract Object handleInsert(com.healthmarketscience.jackcess.impl.TableImpl.WriteRowState writeRowState, Object inRowValue) throws IOException
Warning, calling this externally may result in this value being "lost" for the table.
IOException
public abstract void restoreLast(Object last)
public abstract DataType getType()
Copyright © 2005–2024 OpenHMS. All rights reserved.