|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.healthmarketscience.jackcess.impl.ColumnImpl.AutoNumberGenerator
public abstract class ColumnImpl.AutoNumberGenerator
Base class for the supported autonumber types.
| Constructor Summary | |
|---|---|
protected |
ColumnImpl.AutoNumberGenerator()
|
| Method Summary | |
|---|---|
abstract Object |
getLast()
Returns the last autonumber generated by this generator. |
abstract Object |
getNext(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(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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ColumnImpl.AutoNumberGenerator()
| Method Detail |
|---|
public abstract Object getLast()
Table.addRow(java.lang.Object...), otherwise undefined.
public abstract Object getNext(TableImpl.WriteRowState writeRowState)
Warning, calling this externally will result in this value being "lost" for the table.
public abstract Object handleInsert(TableImpl.WriteRowState writeRowState,
Object inRowValue)
throws IOException
Warning, calling this externally may result in this value being "lost" for the table.
IOExceptionpublic abstract void restoreLast(Object last)
public abstract DataType getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||