public enum IdGeneratorStrategy extends Enum<IdGeneratorStrategy>
Enum Constant and Description |
---|
IDENTITY |
INCREMENT |
NATIVE |
SEQUENCE |
UNSPECIFIED |
UUIDHEX |
UUIDSTRING |
Modifier and Type | Method and Description |
---|---|
static IdGeneratorStrategy |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2005–1970 Apache Software Foundation. All rights reserved.