public enum IdType extends Enum<IdType>
| Enum Constant and Description |
|---|
IDENTITY
Id is identity type.
|
MANUAL
Id is provided manually.
|
SEQUENCE
Id is generated by a sequence.
|
TABLE
Id is generated by a table generator.
|
| Modifier and Type | Method and Description |
|---|---|
static IdType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdType IDENTITY
public static final IdType SEQUENCE
public static final IdType TABLE
public static final IdType MANUAL
public static IdType[] values()
for (IdType c : IdType.values()) System.out.println(c);
public static IdType 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 © 2012 Batoo Software & Consultancy. All Rights Reserved.