public enum IDGeneratorType extends Enum<IDGeneratorType>
IDGeneratorType enumeration:
Type of ID Generation
Enum Constant and Description |
---|
MANUAL
Manual: IDs are manually entered by user
|
SEQUENCE
Sequence: IDs are automatically generated using a database sequence
|
UUID
UUID: IDs are automatically created using a UUID generator
|
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 MANUAL
public static final IDGeneratorType SEQUENCE
public static final IDGeneratorType UUID
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 © 2015. All Rights Reserved.