Enum Class Database.Type

java.lang.Object
java.lang.Enum<Database.Type>
uk.co.sculptor.kflibjava.Database.Type
All Implemented Interfaces:
Serializable, Comparable<Database.Type>, Constable
Enclosing class:
Database

public static enum Database.Type extends Enum<Database.Type>
Database type enumeration
  • Enum Constant Details

    • SCULPTOR

      public static final Database.Type SCULPTOR
      Sculptor 2 database
    • ODBC

      public static final Database.Type ODBC
      ODBC database
  • Method Details

    • values

      public static Database.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Database.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getByte

      public byte getByte()
      Returns the Sculptor type as the byte value used on KfServer
      Returns:
      Sculptor type as the byte value used on KfServer