Enum DataTypes
- java.lang.Object
-
- java.lang.Enum<DataTypes>
-
- com.jgcomptech.tools.databasetools.jdbc.DataTypes
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BIGINT
public static final DataTypes BIGINT
-
BINARY
public static final DataTypes BINARY
-
BIT
public static final DataTypes BIT
-
BLOB
public static final DataTypes BLOB
-
BOOLEAN
public static final DataTypes BOOLEAN
-
CHAR
public static final DataTypes CHAR
-
DATE
public static final DataTypes DATE
-
DATETIME
public static final DataTypes DATETIME
-
DECIMAL
public static final DataTypes DECIMAL
-
DOUBLE
public static final DataTypes DOUBLE
-
ENUM
public static final DataTypes ENUM
-
FLOAT
public static final DataTypes FLOAT
-
INTEGER
public static final DataTypes INTEGER
-
LONGBLOB
public static final DataTypes LONGBLOB
-
LONGTEXT
public static final DataTypes LONGTEXT
-
MEDIUMBLOB
public static final DataTypes MEDIUMBLOB
-
MEDIUMINT
public static final DataTypes MEDIUMINT
-
MEDIUMTEXT
public static final DataTypes MEDIUMTEXT
-
NCHAR
public static final DataTypes NCHAR
-
NVARCHAR
public static final DataTypes NVARCHAR
-
SET
public static final DataTypes SET
-
SMALLINT
public static final DataTypes SMALLINT
-
TEXT
public static final DataTypes TEXT
-
TIME
public static final DataTypes TIME
-
TIMESTAMP
public static final DataTypes TIMESTAMP
-
TINYBLOB
public static final DataTypes TINYBLOB
-
TINYINT
public static final DataTypes TINYINT
-
TINYTEXT
public static final DataTypes TINYTEXT
-
VARBINARY
public static final DataTypes VARBINARY
-
VARCHAR
public static final DataTypes VARCHAR
-
YEAR
public static final DataTypes YEAR
-
-
Method Detail
-
values
public static DataTypes[] 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 (DataTypes c : DataTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataTypes 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
-
-