Nuxeo Enterprise Platform 5.4

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

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


Enum Constant Summary
BLOBID
           
BOOLEAN
           
CLOB
           
CLUSTERFRAGS
           
CLUSTERNODE
           
DOUBLE
           
FTINDEXED
           
FTSTORED
           
INTEGER
           
LONG
           
NODEARRAY
           
NODEID
           
NODEIDFK
           
NODEIDFKMUL
           
NODEIDFKNP
           
NODEIDFKNULL
           
NODEVAL
           
SYSNAME
           
TIMESTAMP
           
TINYINT
           
VARCHAR
           
 
Method Summary
static ColumnType fromFieldType(Type coreType)
           
static ColumnType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static 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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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

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)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.