public enum IdGenerationStrategy extends java.lang.Enum<IdGenerationStrategy>
Enum Constant and Description |
---|
AUTO_GENERATED
Auto generated ids.
|
USER_IDS
User defined ids.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toKey() |
static IdGenerationStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IdGenerationStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final IdGenerationStrategy AUTO_GENERATED
public static final IdGenerationStrategy USER_IDS
public java.lang.String toKey()
public static IdGenerationStrategy 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 nullpublic static IdGenerationStrategy[] values()
for (IdGenerationStrategy c : IdGenerationStrategy.values()) System.out.println(c);
Copyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.