net.israfil.foundation.mock.sql
Class DBType

java.lang.Object
  extended by net.israfil.foundation.mock.sql.DBType

public class DBType
extends java.lang.Object

A database type for use within the MockResultSet

Author:
Christian Edward Gruber

Field Summary
static int BIT
           
static int BLOB
           
static int BYTE
           
static int CHAR
           
static int DECIMAL
           
static int DOUBLE
           
static int FLOAT
           
 DBTypeGroup group
           
static int INTEGER
           
 java.lang.Class javaClass
           
static int LONG
           
 java.lang.String name
           
static int OBJECT
           
static int SHORT
           
 int sqltype
           
static int STRING
           
static int TIMESTAMP
           
static DBType[] types
           
 
Method Summary
static DBType valueOf(int sqlType)
           
static DBType valueOf(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLOB

public static final int BLOB
See Also:
Constant Field Values

BIT

public static final int BIT
See Also:
Constant Field Values

CHAR

public static final int CHAR
See Also:
Constant Field Values

DECIMAL

public static final int DECIMAL
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

SHORT

public static final int SHORT
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

LONG

public static final int LONG
See Also:
Constant Field Values

BYTE

public static final int BYTE
See Also:
Constant Field Values

STRING

public static final int STRING
See Also:
Constant Field Values

TIMESTAMP

public static final int TIMESTAMP
See Also:
Constant Field Values

OBJECT

public static final int OBJECT
See Also:
Constant Field Values

types

public static final DBType[] types

javaClass

public final java.lang.Class javaClass

sqltype

public final int sqltype

group

public final DBTypeGroup group

name

public final java.lang.String name
Method Detail

valueOf

public static DBType valueOf(java.lang.String name)

valueOf

public static DBType valueOf(int sqlType)


Copyright © 2003-2006. All Rights Reserved.