public enum ForeignKeyDeferrability extends java.lang.Enum<ForeignKeyDeferrability> implements IdentifiedEnum
| Enum Constant and Description |
|---|
initiallyDeferred
Initially deferred.
|
initiallyImmediate
Initially immediate.
|
keyNotDeferrable
Not deferrable.
|
unknown
Unknown
|
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Gets the id.
|
java.lang.String |
toString() |
static ForeignKeyDeferrability |
valueOf(java.lang.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(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 int getId()
getId in interface IdentifiedEnumpublic java.lang.String toString()
toString in class java.lang.Enum<ForeignKeyDeferrability>Copyright © 2000-2019 Sualeh Fatehi. All rights reserved.