org.plasma.text.ddl
Enum JDBCType

java.lang.Object
  extended by java.lang.Enum<JDBCType>
      extended by org.plasma.text.ddl.JDBCType
All Implemented Interfaces:
Serializable, Comparable<JDBCType>

public enum JDBCType
extends Enum<JDBCType>

Java class for JDBCType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="JDBCType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="ARRAY"/>
     <enumeration value="BIGINT"/>
     <enumeration value="BINARY"/>
     <enumeration value="BIT"/>
     <enumeration value="BLOB"/>
     <enumeration value="BOOLEAN"/>
     <enumeration value="CHAR"/>
     <enumeration value="CLOB"/>
     <enumeration value="DATALINK"/>
     <enumeration value="DATE"/>
     <enumeration value="DECIMAL"/>
     <enumeration value="DISTINCT"/>
     <enumeration value="DOUBLE"/>
     <enumeration value="FLOAT"/>
     <enumeration value="INTEGER"/>
     <enumeration value="JAVA_OBJECT"/>
     <enumeration value="LONGVARBINARY"/>
     <enumeration value="LONGVARCHAR"/>
     <enumeration value="NULL"/>
     <enumeration value="NUMERIC"/>
     <enumeration value="OTHER"/>
     <enumeration value="REAL"/>
     <enumeration value="REF"/>
     <enumeration value="SMALLINT"/>
     <enumeration value="STRUCT"/>
     <enumeration value="TIME"/>
     <enumeration value="TIMESTAMP"/>
     <enumeration value="TINYINT"/>
     <enumeration value="VARBINARY"/>
     <enumeration value="VARCHAR"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ARRAY
           
BIGINT
           
BINARY
           
BIT
           
BLOB
           
BOOLEAN
           
CHAR
           
CLOB
           
DATALINK
           
DATE
           
DECIMAL
           
DISTINCT
           
DOUBLE
           
FLOAT
           
INTEGER
           
JAVA___OBJECT
           
LONGVARBINARY
           
LONGVARCHAR
           
NULL
           
NUMERIC
           
OTHER
           
REAL
           
REF
           
SMALLINT
           
STRUCT
           
TIME
           
TIMESTAMP
           
TINYINT
           
VARBINARY
           
VARCHAR
           
 
Method Summary
static JDBCType fromValue(String v)
           
 String value()
           
static JDBCType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JDBCType[] 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

ARRAY

public static final JDBCType ARRAY

BIGINT

public static final JDBCType BIGINT

BINARY

public static final JDBCType BINARY

BIT

public static final JDBCType BIT

BLOB

public static final JDBCType BLOB

BOOLEAN

public static final JDBCType BOOLEAN

CHAR

public static final JDBCType CHAR

CLOB

public static final JDBCType CLOB

DATALINK

public static final JDBCType DATALINK

DATE

public static final JDBCType DATE

DECIMAL

public static final JDBCType DECIMAL

DISTINCT

public static final JDBCType DISTINCT

DOUBLE

public static final JDBCType DOUBLE

FLOAT

public static final JDBCType FLOAT

INTEGER

public static final JDBCType INTEGER

JAVA___OBJECT

public static final JDBCType JAVA___OBJECT

LONGVARBINARY

public static final JDBCType LONGVARBINARY

LONGVARCHAR

public static final JDBCType LONGVARCHAR

NULL

public static final JDBCType NULL

NUMERIC

public static final JDBCType NUMERIC

OTHER

public static final JDBCType OTHER

REAL

public static final JDBCType REAL

REF

public static final JDBCType REF

SMALLINT

public static final JDBCType SMALLINT

STRUCT

public static final JDBCType STRUCT

TIME

public static final JDBCType TIME

TIMESTAMP

public static final JDBCType TIMESTAMP

TINYINT

public static final JDBCType TINYINT

VARBINARY

public static final JDBCType VARBINARY

VARCHAR

public static final JDBCType VARCHAR
Method Detail

values

public static JDBCType[] 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 (JDBCType c : JDBCType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JDBCType 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

value

public String value()

fromValue

public static JDBCType fromValue(String v)


Copyright © 2014. All rights reserved.