com.caucho.db.table
Enum Column.ColumnType

java.lang.Object
  extended by java.lang.Enum<Column.ColumnType>
      extended by com.caucho.db.table.Column.ColumnType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Column.ColumnType>
Enclosing class:
Column

@Module
public static enum Column.ColumnType
extends java.lang.Enum<Column.ColumnType>


Enum Constant Summary
BINARY
           
BLOB
           
BOOLEAN
           
BYTE
           
DATE
           
DOUBLE
           
IDENTITY
           
INT
           
LONG
           
NONE
           
NUMERIC
           
SHORT
           
VARBINARY
           
VARCHAR
           
 
Method Summary
static Column.ColumnType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Column.ColumnType[] 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

NONE

public static final Column.ColumnType NONE

VARCHAR

public static final Column.ColumnType VARCHAR

BOOLEAN

public static final Column.ColumnType BOOLEAN

BYTE

public static final Column.ColumnType BYTE

SHORT

public static final Column.ColumnType SHORT

INT

public static final Column.ColumnType INT

LONG

public static final Column.ColumnType LONG

DOUBLE

public static final Column.ColumnType DOUBLE

DATE

public static final Column.ColumnType DATE

BLOB

public static final Column.ColumnType BLOB

NUMERIC

public static final Column.ColumnType NUMERIC

BINARY

public static final Column.ColumnType BINARY

VARBINARY

public static final Column.ColumnType VARBINARY

IDENTITY

public static final Column.ColumnType IDENTITY
Method Detail

values

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

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

valueOf

public static Column.ColumnType 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
java.lang.NullPointerException - if the argument is null