public enum ForeignKeyStrategy extends Enum<ForeignKeyStrategy>
| Enum Constant and Description |
|---|
CASCADE |
NO_ACTION |
SET_DEFAULT |
SET_NULL |
| Modifier and Type | Method and Description |
|---|---|
static ForeignKeyStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKeyStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKeyStrategy NO_ACTION
public static final ForeignKeyStrategy CASCADE
public static final ForeignKeyStrategy SET_NULL
public static final ForeignKeyStrategy SET_DEFAULT
public static ForeignKeyStrategy[] values()
for (ForeignKeyStrategy c : ForeignKeyStrategy.values()) System.out.println(c);
public static ForeignKeyStrategy 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–2017 Bridje Framework. All rights reserved.