public enum ForeignKeyDeferrability extends Enum<ForeignKeyDeferrability> implements IdentifiedEnum
Enum Constant and Description |
---|
initiallyDeferred |
initiallyImmediate |
keyNotDeferrable |
unknown |
Modifier and Type | Method and Description |
---|---|
int |
id()
Gets the id.
|
String |
toString() |
static ForeignKeyDeferrability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKeyDeferrability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKeyDeferrability unknown
public static final ForeignKeyDeferrability initiallyDeferred
public static final ForeignKeyDeferrability initiallyImmediate
public static final ForeignKeyDeferrability keyNotDeferrable
public static ForeignKeyDeferrability[] values()
for (ForeignKeyDeferrability c : ForeignKeyDeferrability.values()) System.out.println(c);
public static ForeignKeyDeferrability 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 int id()
id
in interface IdentifiedEnum
public String toString()
toString
in class Enum<ForeignKeyDeferrability>
Copyright © 2000-2020 Sualeh Fatehi. All rights reserved.