public enum ForeignKeyDeferrability extends 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.
|
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 getId()
getId
in interface IdentifiedEnum
public String toString()
toString
in class Enum<ForeignKeyDeferrability>
Object.toString()
Copyright © 2000-2015 Sualeh Fatehi. All rights reserved.