org.nuxeo.ecm.core.storage.sql
Enum ColumnType
java.lang.Object
java.lang.Enum<ColumnType>
org.nuxeo.ecm.core.storage.sql.ColumnType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ColumnType>
public enum ColumnType
- extends java.lang.Enum<ColumnType>
Abstract representation of the database-level column types.
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
VARCHAR
public static final ColumnType VARCHAR
CLOB
public static final ColumnType CLOB
BOOLEAN
public static final ColumnType BOOLEAN
LONG
public static final ColumnType LONG
DOUBLE
public static final ColumnType DOUBLE
TIMESTAMP
public static final ColumnType TIMESTAMP
BLOBID
public static final ColumnType BLOBID
NODEID
public static final ColumnType NODEID
NODEIDFK
public static final ColumnType NODEIDFK
NODEIDFKNP
public static final ColumnType NODEIDFKNP
NODEIDFKMUL
public static final ColumnType NODEIDFKMUL
NODEIDFKNULL
public static final ColumnType NODEIDFKNULL
NODEVAL
public static final ColumnType NODEVAL
NODEARRAY
public static final ColumnType NODEARRAY
SYSNAME
public static final ColumnType SYSNAME
TINYINT
public static final ColumnType TINYINT
INTEGER
public static final ColumnType INTEGER
FTINDEXED
public static final ColumnType FTINDEXED
FTSTORED
public static final ColumnType FTSTORED
CLUSTERNODE
public static final ColumnType CLUSTERNODE
CLUSTERFRAGS
public static final ColumnType CLUSTERFRAGS
values
public static 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 (ColumnType c : 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 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
fromFieldType
public static ColumnType fromFieldType(Type coreType)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.