goldengate.common.database.model
Enum DbModelH2.DBType

java.lang.Object
  extended by java.lang.Enum<DbModelH2.DBType>
      extended by goldengate.common.database.model.DbModelH2.DBType
All Implemented Interfaces:
Serializable, Comparable<DbModelH2.DBType>
Enclosing class:
DbModelH2

protected static enum DbModelH2.DBType
extends Enum<DbModelH2.DBType>


Enum Constant Summary
BIGINT
           
BIT
           
BLOB
           
CHAR
           
CLOB
           
DATE
           
DOUBLE
           
INTEGER
           
LONGVARCHAR
           
REAL
           
SMALLINT
           
TIMESTAMP
           
TINYINT
           
VARBINARY
           
VARCHAR
           
 
Field Summary
 String constructor
           
 int type
           
 
Method Summary
static String getType(int sqltype)
           
static DbModelH2.DBType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DbModelH2.DBType[] 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

CHAR

public static final DbModelH2.DBType CHAR

VARCHAR

public static final DbModelH2.DBType VARCHAR

LONGVARCHAR

public static final DbModelH2.DBType LONGVARCHAR

BIT

public static final DbModelH2.DBType BIT

TINYINT

public static final DbModelH2.DBType TINYINT

SMALLINT

public static final DbModelH2.DBType SMALLINT

INTEGER

public static final DbModelH2.DBType INTEGER

BIGINT

public static final DbModelH2.DBType BIGINT

REAL

public static final DbModelH2.DBType REAL

DOUBLE

public static final DbModelH2.DBType DOUBLE

VARBINARY

public static final DbModelH2.DBType VARBINARY

DATE

public static final DbModelH2.DBType DATE

TIMESTAMP

public static final DbModelH2.DBType TIMESTAMP

CLOB

public static final DbModelH2.DBType CLOB

BLOB

public static final DbModelH2.DBType BLOB
Field Detail

type

public int type

constructor

public String constructor
Method Detail

values

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

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

valueOf

public static DbModelH2.DBType 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

getType

public static String getType(int sqltype)


Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.