Elexis API documentation
Version 2.1.6 as of December 11 2011

com.healthmarketscience.jackcess
Class Column.AutoNumberGenerator

java.lang.Object
  extended by com.healthmarketscience.jackcess.Column.AutoNumberGenerator
Enclosing class:
Column

public abstract class Column.AutoNumberGenerator
extends java.lang.Object

Base class for the supported autonumber types.


Method Summary
abstract  int getColumnFlags()
          Returns the flags used when writing this column.
abstract  java.lang.Object getLast()
          Returns the last autonumber generated by this generator.
abstract  java.lang.Object getNext()
          Returns the next autonumber for this generator.
abstract  DataType getType()
          Returns the type of values generated by this generator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLast

public abstract java.lang.Object getLast()
Returns the last autonumber generated by this generator. Only valid after a call to Table.addRow(java.lang.Object...), otherwise undefined.


getNext

public abstract java.lang.Object getNext()
Returns the next autonumber for this generator.

Warning, calling this externally will result in this value being "lost" for the table.


getColumnFlags

public abstract int getColumnFlags()
Returns the flags used when writing this column.


getType

public abstract DataType getType()
Returns the type of values generated by this generator.


Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis