public enum IdGeneratorType extends Enum<IdGeneratorType>
Enum Constant and Description |
---|
AUTO_INCREMENT |
GENERATOR |
NONE |
SEQUENCE |
Modifier and Type | Method and Description |
---|---|
static IdGeneratorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdGeneratorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdGeneratorType SEQUENCE
public static final IdGeneratorType AUTO_INCREMENT
public static final IdGeneratorType NONE
public static final IdGeneratorType GENERATOR
public static IdGeneratorType[] values()
for (IdGeneratorType c : IdGeneratorType.values()) System.out.println(c);
public static IdGeneratorType 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 © 2021. All rights reserved.