public enum PKType extends Enum<PKType>
PKType enumeration:
Type of system defiend primary key
Enum Constant and Description |
---|
SDPK_SEQUENCE
System Defined as Sequence: Use a sequence to generate entity identifiers.
|
SDPK_UUID
System Defined as Universal Unique Identifier: Use a random UUID generator to generate entity identifiers.
|
UDPK
User Defined: Let the user manager the entity identifiers
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSDPK() |
static PKType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PKType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PKType SDPK_SEQUENCE
public static final PKType SDPK_UUID
public static final PKType UDPK
public static PKType[] values()
for (PKType c : PKType.values()) System.out.println(c);
public static PKType 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 nullpublic boolean isSDPK()
Copyright © 2015. All Rights Reserved.