Enum Class Database.Flag

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

public static enum Database.Flag extends Enum<Database.Flag>
Database flag enumeration
  • Enum Constant Details

    • RECREATE_LOGFILE

      public static final Database.Flag RECREATE_LOGFILE
      Create a new error log file
    • IGNORE_CATALOG

      public static final Database.Flag IGNORE_CATALOG
      Ignore catalog usage
    • IGNORE_SCHEMA

      public static final Database.Flag IGNORE_SCHEMA
      Ignore schema usage
    • CASE_SENSITIVE

      public static final Database.Flag CASE_SENSITIVE
      Force case sensitive names
    • OPTIMISTIC_LOCKING

      public static final Database.Flag OPTIMISTIC_LOCKING
      Use optimistic locking if supported
    • UNSIGNED_KEYS

      public static final Database.Flag UNSIGNED_KEYS
      Convert i2/i4 keys to unsigned binary
    • ACCESS_MULTIUSER

      public static final Database.Flag ACCESS_MULTIUSER
      Try to make Access multi-user safe (slow)
    • MIRROR_ALL_FILES

      public static final Database.Flag MIRROR_ALL_FILES
      Mirror all files in this database
  • Method Details

    • values

      public static Database.Flag[] 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.Flag 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
    • getScValue

      public static int getScValue(EnumSet<Database.Flag> flags)
      Convert an EnumSet of Flags to the Sculptor value used on the server.
      Parameters:
      flags - Database.Flag Enumerator set
      Returns:
      The Sculptor value used on KfServer.
    • getInt

      public int getInt()
      Returns the Database flag as the int value used on KfServer
      Returns:
      the int value used on KfServer