|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JdbcTypesEnum> org.springframework.integration.jdbc.config.JdbcTypesEnum
public enum JdbcTypesEnum
This Enumeration provides a handy wrapper around Types
. This makes it
possible to look up String representation of the enum constant's name, and thus
looking up the respective JDBC Type (int-value).
Method Summary | |
---|---|
static JdbcTypesEnum |
convertToJdbcTypesEnum(java.lang.String sqlTypeAsString)
Retrieves the matching enum constant for a provided String representation of the SQL Types. |
int |
getCode()
Get the numerical representation of the JDBC Type enum. |
static JdbcTypesEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JdbcTypesEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JdbcTypesEnum BIT
public static final JdbcTypesEnum TINYINT
public static final JdbcTypesEnum SMALLINT
public static final JdbcTypesEnum INTEGER
public static final JdbcTypesEnum BIGINT
public static final JdbcTypesEnum FLOAT
public static final JdbcTypesEnum REAL
public static final JdbcTypesEnum DOUBLE
public static final JdbcTypesEnum NUMERIC
public static final JdbcTypesEnum DECIMAL
public static final JdbcTypesEnum CHAR
public static final JdbcTypesEnum VARCHAR
public static final JdbcTypesEnum LONGVARCHAR
public static final JdbcTypesEnum DATE
public static final JdbcTypesEnum TIME
public static final JdbcTypesEnum TIMESTAMP
public static final JdbcTypesEnum BINARY
public static final JdbcTypesEnum VARBINARY
public static final JdbcTypesEnum LONGVARBINARY
public static final JdbcTypesEnum NULL
public static final JdbcTypesEnum OTHER
public static final JdbcTypesEnum JAVA_OBJECT
public static final JdbcTypesEnum DISTINCT
public static final JdbcTypesEnum STRUCT
public static final JdbcTypesEnum ARRAY
public static final JdbcTypesEnum BLOB
public static final JdbcTypesEnum CLOB
public static final JdbcTypesEnum REF
public static final JdbcTypesEnum DATALINK
public static final JdbcTypesEnum BOOLEAN
public static final JdbcTypesEnum ROWID
public static final JdbcTypesEnum NCHAR
public static final JdbcTypesEnum NVARCHAR
public static final JdbcTypesEnum LONGNVARCHAR
public static final JdbcTypesEnum NCLOB
public static final JdbcTypesEnum SQLXML
Method Detail |
---|
public static JdbcTypesEnum[] values()
for (JdbcTypesEnum c : JdbcTypesEnum.values()) System.out.println(c);
public static JdbcTypesEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getCode()
Types
public static JdbcTypesEnum convertToJdbcTypesEnum(java.lang.String sqlTypeAsString)
sqlTypeAsString
- Name of the enum to convert. Must be not null and not empty.
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |