Package uk.co.sculptor.kflibjava
Enum Class Database.Flag
- All Implemented Interfaces:
Serializable
,Comparable<Database.Flag>
,Constable
- Enclosing class:
Database
Database flag enumeration
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTry to make Access multi-user safe (slow)Force case sensitive namesIgnore catalog usageIgnore schema usageMirror all files in this databaseUse optimistic locking if supportedCreate a new error log fileConvert i2/i4 keys to unsigned binary -
Method Summary
Modifier and TypeMethodDescriptionint
getInt()
Returns the Database flag as the int value used on KfServerstatic int
getScValue
(EnumSet<Database.Flag> flags) Convert an EnumSet of Flags to the Sculptor value used on the server.static Database.Flag
Returns the enum constant of this class with the specified name.static Database.Flag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RECREATE_LOGFILE
Create a new error log file -
IGNORE_CATALOG
Ignore catalog usage -
IGNORE_SCHEMA
Ignore schema usage -
CASE_SENSITIVE
Force case sensitive names -
OPTIMISTIC_LOCKING
Use optimistic locking if supported -
UNSIGNED_KEYS
Convert i2/i4 keys to unsigned binary -
ACCESS_MULTIUSER
Try to make Access multi-user safe (slow) -
MIRROR_ALL_FILES
Mirror all files in this database
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getScValue
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
-