public enum ForeignKeyUpdateRule extends Enum<ForeignKeyUpdateRule> implements IdentifiedEnum
Enum Constant and Description |
---|
cascade
Cascade.
|
noAction
No action.
|
restrict
Restrict.
|
setDefault
Set default.
|
setNull
Set null.
|
unknown
Unknown
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets the id.
|
String |
toString() |
static ForeignKeyUpdateRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKeyUpdateRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKeyUpdateRule unknown
public static final ForeignKeyUpdateRule noAction
public static final ForeignKeyUpdateRule cascade
public static final ForeignKeyUpdateRule setNull
public static final ForeignKeyUpdateRule setDefault
public static final ForeignKeyUpdateRule restrict
public static ForeignKeyUpdateRule[] values()
for (ForeignKeyUpdateRule c : ForeignKeyUpdateRule.values()) System.out.println(c);
public static ForeignKeyUpdateRule 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<ForeignKeyUpdateRule>
Copyright © 2000-2020 Sualeh Fatehi. All rights reserved.