Package org.apache.ibatis.jdbc
Enum Null
- java.lang.Object
-
- java.lang.Enum<Null>
-
- org.apache.ibatis.jdbc.Null
-
- All Implemented Interfaces:
Serializable
,Comparable<Null>
public enum Null extends Enum<Null>
- Author:
- Clinton Begin, Adam Gent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcType
getJdbcType()
TypeHandler<?>
getTypeHandler()
static Null
valueOf(String name)
Returns the enum constant of this type with the specified name.static Null[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final Null BOOLEAN
-
BYTE
public static final Null BYTE
-
SHORT
public static final Null SHORT
-
INTEGER
public static final Null INTEGER
-
LONG
public static final Null LONG
-
FLOAT
public static final Null FLOAT
-
DOUBLE
public static final Null DOUBLE
-
BIGDECIMAL
public static final Null BIGDECIMAL
-
STRING
public static final Null STRING
-
CLOB
public static final Null CLOB
-
LONGVARCHAR
public static final Null LONGVARCHAR
-
BYTEARRAY
public static final Null BYTEARRAY
-
BLOB
public static final Null BLOB
-
LONGVARBINARY
public static final Null LONGVARBINARY
-
OBJECT
public static final Null OBJECT
-
OTHER
public static final Null OTHER
-
TIMESTAMP
public static final Null TIMESTAMP
-
DATE
public static final Null DATE
-
TIME
public static final Null TIME
-
SQLTIMESTAMP
public static final Null SQLTIMESTAMP
-
SQLDATE
public static final Null SQLDATE
-
SQLTIME
public static final Null SQLTIME
-
-
Method Detail
-
values
public static Null[] 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 (Null c : Null.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Null 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
-
getTypeHandler
public TypeHandler<?> getTypeHandler()
-
getJdbcType
public JdbcType getJdbcType()
-
-