public enum FKRule extends Enum<FKRule>
Enum Constant and Description |
---|
CASCADE
Cascade modification of referring records.
|
NO_ACTION
Prohibits modification of the parent record.
|
SET_NULL
Setting referring fields to
null . |
Modifier and Type | Method and Description |
---|---|
static FKRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FKRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FKRule NO_ACTION
public static final FKRule CASCADE
public static final FKRule SET_NULL
null
.public static FKRule[] values()
for (FKRule c : FKRule.values()) System.out.println(c);
public static FKRule 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 © 2022 CURS. All rights reserved.