public enum DatabasePrefix extends Enum<DatabasePrefix>
DatabasePrefix holds some useful prefixes for sequences, sequence generators,
unique constraints, foreign keys and indexes names| Enum Constant and Description |
|---|
FOREIGN_KEY_NAME
The prefix for the foreign key name
|
INDEX_NAME
The prefix for the index
|
SEQUENCE_GENERATOR_NAME
The prefix for the sequence generator name
|
SEQUENCE_NAME
The prefix for the sequence name
|
UNIQUE_CONSTRAINT_NAME
The prefix for the unique constraint name
|
| Modifier and Type | Method and Description |
|---|---|
static DatabasePrefix |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabasePrefix[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabasePrefix FOREIGN_KEY_NAME
public static final DatabasePrefix INDEX_NAME
public static final DatabasePrefix SEQUENCE_GENERATOR_NAME
public static final DatabasePrefix SEQUENCE_NAME
public static final DatabasePrefix UNIQUE_CONSTRAINT_NAME
public static DatabasePrefix[] values()
for (DatabasePrefix c : DatabasePrefix.values()) System.out.println(c);
public static DatabasePrefix 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–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.