Enum Dialect.DialectIdType
- java.lang.Object
-
- java.lang.Enum<Dialect.DialectIdType>
-
- org.nuxeo.ecm.core.storage.sql.jdbc.dialect.Dialect.DialectIdType
-
- All Implemented Interfaces:
Serializable
,Comparable<Dialect.DialectIdType>
- Enclosing class:
- Dialect
public static enum Dialect.DialectIdType extends Enum<Dialect.DialectIdType>
Type of id when stored in the database.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Dialect.DialectIdType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Dialect.DialectIdType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VARCHAR
public static final Dialect.DialectIdType VARCHAR
VARCHAR storing a UUID as a string.
-
UUID
public static final Dialect.DialectIdType UUID
Native UUID.
-
SEQUENCE
public static final Dialect.DialectIdType SEQUENCE
Long from sequence generated by database.
-
-
Method Detail
-
values
public static Dialect.DialectIdType[] 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 (Dialect.DialectIdType c : Dialect.DialectIdType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Dialect.DialectIdType 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 nameNullPointerException
- if the argument is null
-
-