Package me.syncwrld.booter.database
Enum TableComponent.Type
- java.lang.Object
-
- java.lang.Enum<TableComponent.Type>
-
- me.syncwrld.booter.database.TableComponent.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TableComponent.Type>
- Enclosing class:
- TableComponent
public static enum TableComponent.Type extends java.lang.Enum<TableComponent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIGINT
BOOLEAN
DATE
DOUBLE
FLOAT
INT
JSON
STRING
TEXT
TINYINT
UUID
VARCHAR_12
VARCHAR_128
VARCHAR_16
VARCHAR_255
VARCHAR_32
VARCHAR_64
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableComponent.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TableComponent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final TableComponent.Type TEXT
-
STRING
public static final TableComponent.Type STRING
-
JSON
public static final TableComponent.Type JSON
-
INT
public static final TableComponent.Type INT
-
BOOLEAN
public static final TableComponent.Type BOOLEAN
-
DOUBLE
public static final TableComponent.Type DOUBLE
-
FLOAT
public static final TableComponent.Type FLOAT
-
BIGINT
public static final TableComponent.Type BIGINT
-
TINYINT
public static final TableComponent.Type TINYINT
-
DATE
public static final TableComponent.Type DATE
-
UUID
public static final TableComponent.Type UUID
-
VARCHAR_255
public static final TableComponent.Type VARCHAR_255
-
VARCHAR_128
public static final TableComponent.Type VARCHAR_128
-
VARCHAR_64
public static final TableComponent.Type VARCHAR_64
-
VARCHAR_32
public static final TableComponent.Type VARCHAR_32
-
VARCHAR_16
public static final TableComponent.Type VARCHAR_16
-
VARCHAR_12
public static final TableComponent.Type VARCHAR_12
-
-
Method Detail
-
values
public static TableComponent.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TableComponent.Type c : TableComponent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableComponent.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-