Package org.nuxeo.ecm.core.storage.dbs
Enum Class DBSRepositoryBase.IdType
- All Implemented Interfaces:
Serializable
,Comparable<DBSRepositoryBase.IdType>
,Constable
- Enclosing class:
- DBSRepositoryBase
Type of id to used for documents.
- Since:
- 8.3
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionInteger sequence maintained by the database.Integer sequence maintained by the database, in a pseudo-random order, as hex.Random UUID stored as a native UUID type.Random UUID stored in a string. -
Method Summary
Modifier and TypeMethodDescriptionstatic DBSRepositoryBase.IdType
Returns the enum constant of this class with the specified name.static DBSRepositoryBase.IdType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
varchar
Random UUID stored in a string. -
uuid
Random UUID stored as a native UUID type. -
sequence
Integer sequence maintained by the database. -
sequenceHexRandomized
Integer sequence maintained by the database, in a pseudo-random order, as hex.- Since:
- 11.1
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-