Class Column.AutoIncrement

java.lang.Object
org.dbunit.dataset.Column.AutoIncrement
Enclosing class:
Column

public static class Column.AutoIncrement extends Object
Enumeration for valid auto-increment values provided by JDBC driver implementations.
Since:
2.4.3
Version:
$Revision$ $Date$
Author:
gommma, Last changed by: $Author$
See Also:
  • Field Details

  • Method Details

    • getKey

      public String getKey()
    • autoIncrementValue

      public static Column.AutoIncrement autoIncrementValue(String isAutoIncrement)
      Searches the enumeration type for the given String provided by the JDBC driver.

      If the parameter autoIncrementValue

      • equalsIgnoreCase "YES" or equals "1" then YES is returned

      Parameters:
      isAutoIncrement - The String from the JDBC driver.
      Returns:
      The enumeration
    • toString

      public String toString()
      Overrides:
      toString in class Object