com.caucho.db.table
Enum Column.ColumnType
java.lang.Object
java.lang.Enum<Column.ColumnType>
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>
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 |
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
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
getSQLType
public int getSQLType()