public enum IdGeneratorStrategy extends java.lang.Enum<IdGeneratorStrategy>
Enum Constant and Description |
---|
IDENTITY |
INCREMENT |
NATIVE |
SEQUENCE |
UNSPECIFIED |
UUIDHEX |
UUIDSTRING |
Modifier and Type | Method and Description |
---|---|
static IdGeneratorStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdGeneratorStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdGeneratorStrategy UNSPECIFIED
public static final IdGeneratorStrategy NATIVE
public static final IdGeneratorStrategy SEQUENCE
public static final IdGeneratorStrategy IDENTITY
public static final IdGeneratorStrategy INCREMENT
public static final IdGeneratorStrategy UUIDSTRING
public static final IdGeneratorStrategy UUIDHEX
public static IdGeneratorStrategy[] values()
for (IdGeneratorStrategy c : IdGeneratorStrategy.values()) System.out.println(c);
public static IdGeneratorStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null