Package io.tesler.sqlbc.dao
Enum SqlFieldType
- java.lang.Object
-
- java.lang.Enum<SqlFieldType>
-
- io.tesler.sqlbc.dao.SqlFieldType
-
- All Implemented Interfaces:
Serializable
,Comparable<SqlFieldType>
public enum SqlFieldType extends Enum<SqlFieldType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlFieldType.Holder
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlFieldType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SqlFieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final SqlFieldType STRING
-
CLOB
public static final SqlFieldType CLOB
-
BIG_DECIMAL
public static final SqlFieldType BIG_DECIMAL
-
BOOLEAN
public static final SqlFieldType BOOLEAN
-
BYTE
public static final SqlFieldType BYTE
-
SHORT
public static final SqlFieldType SHORT
-
INTEGER
public static final SqlFieldType INTEGER
-
LONG
public static final SqlFieldType LONG
-
FLOAT
public static final SqlFieldType FLOAT
-
DOUBLE
public static final SqlFieldType DOUBLE
-
DATE
public static final SqlFieldType DATE
-
TIME
public static final SqlFieldType TIME
-
TIMESTAMP
public static final SqlFieldType TIMESTAMP
-
-
Method Detail
-
values
public static SqlFieldType[] 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 (SqlFieldType c : SqlFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlFieldType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-