Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql
Enum ColumnSpec

java.lang.Object
  extended by java.lang.Enum<ColumnSpec>
      extended by 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.


Enum Constant Summary
AUTOINC
           
BLOBID
           
BOOLEAN
           
CLUSTERFRAGS
           
CLUSTERNODE
           
DOUBLE
           
FTINDEXED
           
FTSTORED
           
INTEGER
           
LONG
           
NODEARRAY
           
NODEID
           
NODEIDFK
           
NODEIDFKMUL
           
NODEIDFKNP
           
NODEIDFKNULL
           
NODEIDPK
           
NODEVAL
           
STRING
           
SYSNAME
           
SYSNAMEARRAY
           
TIMESTAMP
           
TINYINT
           
 
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.
 
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
 

Enum Constant Detail

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
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.