net.israfil.foundation.mock.sql
Enum MockResultSetMetaData.DBType

java.lang.Object
  extended by java.lang.Enum<MockResultSetMetaData.DBType>
      extended by net.israfil.foundation.mock.sql.MockResultSetMetaData.DBType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MockResultSetMetaData.DBType>
Enclosing class:
MockResultSetMetaData

public static enum MockResultSetMetaData.DBType
extends java.lang.Enum<MockResultSetMetaData.DBType>


Enum Constant Summary
BIT
           
BLOB
           
BYTE
           
CHAR
           
DECIMAL
           
DOUBLE
           
FLOAT
           
INTEGER
           
LONG
           
OBJECT
           
SHORT
           
STRING
           
TIMESTAMP
           
 
Field Summary
 MockResultSetMetaData.DBTypeGroup group
           
 java.lang.Class javaClass
           
 int sqltype
           
 
Method Summary
static MockResultSetMetaData.DBType valueOf(int sqlType)
           
static MockResultSetMetaData.DBType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MockResultSetMetaData.DBType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BLOB

public static final MockResultSetMetaData.DBType BLOB

BIT

public static final MockResultSetMetaData.DBType BIT

CHAR

public static final MockResultSetMetaData.DBType CHAR

DECIMAL

public static final MockResultSetMetaData.DBType DECIMAL

FLOAT

public static final MockResultSetMetaData.DBType FLOAT

DOUBLE

public static final MockResultSetMetaData.DBType DOUBLE

SHORT

public static final MockResultSetMetaData.DBType SHORT

INTEGER

public static final MockResultSetMetaData.DBType INTEGER

LONG

public static final MockResultSetMetaData.DBType LONG

BYTE

public static final MockResultSetMetaData.DBType BYTE

STRING

public static final MockResultSetMetaData.DBType STRING

TIMESTAMP

public static final MockResultSetMetaData.DBType TIMESTAMP

OBJECT

public static final MockResultSetMetaData.DBType OBJECT
Field Detail

javaClass

public final java.lang.Class javaClass

sqltype

public final int sqltype

group

public final MockResultSetMetaData.DBTypeGroup group
Method Detail

values

public static final MockResultSetMetaData.DBType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MockResultSetMetaData.DBType c : MockResultSetMetaData.DBType.values())
        System.out.println(c);

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

valueOf

public static MockResultSetMetaData.DBType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

valueOf

public static MockResultSetMetaData.DBType valueOf(int sqlType)


Copyright © 2003-2006 null. All Rights Reserved.