org.nuxeo.ecm.core.storage.sql
Enum ColumnSpec
java.lang.Object
java.lang.Enum<ColumnSpec>
org.nuxeo.ecm.core.storage.sql.ColumnSpec
- All Implemented Interfaces:
- Serializable, Comparable<ColumnSpec>
public enum ColumnSpec
- extends Enum<ColumnSpec>
Abstract representation of the database-level column types.
Method Summary |
static ColumnSpec |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ColumnSpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
STRING
public static final ColumnSpec STRING
BOOLEAN
public static final ColumnSpec BOOLEAN
LONG
public static final ColumnSpec LONG
DOUBLE
public static final ColumnSpec DOUBLE
TIMESTAMP
public static final ColumnSpec TIMESTAMP
BLOBID
public static final ColumnSpec BLOBID
NODEID
public static final ColumnSpec NODEID
NODEIDFK
public static final ColumnSpec NODEIDFK
NODEIDFKNP
public static final ColumnSpec NODEIDFKNP
NODEIDFKMUL
public static final ColumnSpec NODEIDFKMUL
NODEIDFKNULL
public static final ColumnSpec NODEIDFKNULL
NODEIDPK
public static final ColumnSpec NODEIDPK
NODEVAL
public static final ColumnSpec NODEVAL
NODEARRAY
public static final ColumnSpec NODEARRAY
SYSNAME
public static final ColumnSpec SYSNAME
SYSNAMEARRAY
public static final ColumnSpec SYSNAMEARRAY
TINYINT
public static final ColumnSpec TINYINT
INTEGER
public static final ColumnSpec INTEGER
AUTOINC
public static final ColumnSpec AUTOINC
FTINDEXED
public static final ColumnSpec FTINDEXED
FTSTORED
public static final ColumnSpec FTSTORED
CLUSTERNODE
public static final ColumnSpec CLUSTERNODE
CLUSTERFRAGS
public static final ColumnSpec CLUSTERFRAGS
values
public static ColumnSpec[] 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 (ColumnSpec c : ColumnSpec.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ColumnSpec 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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.