org.apache.ibatis.jdbc
Enum Null

java.lang.Object
  extended by java.lang.Enum<Null>
      extended by org.apache.ibatis.jdbc.Null
All Implemented Interfaces:
Serializable, Comparable<Null>

public enum Null
extends Enum<Null>


Enum Constant Summary
BIGDECIMAL
           
BLOB
           
BOOLEAN
           
BYTE
           
BYTEARRAY
           
CLOB
           
DATE
           
DOUBLE
           
FLOAT
           
INTEGER
           
LONG
           
LONGVARBINARY
           
LONGVARCHAR
           
OBJECT
           
OTHER
           
SHORT
           
SQLDATE
           
SQLTIME
           
SQLTIMESTAMP
           
STRING
           
TIME
           
TIMESTAMP
           
 
Method Summary
 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.
 
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

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 name
NullPointerException - if the argument is null

getTypeHandler

public TypeHandler getTypeHandler()

getJdbcType

public JdbcType getJdbcType()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.