public static enum ForeignKey.ReferentialAction extends Enum<ForeignKey.ReferentialAction>
Enum Constant and Description |
---|
CASCADE |
NO_ACTION |
RESTRICT |
SET_DEFAULT |
SET_NULL |
Modifier and Type | Method and Description |
---|---|
String |
getActionString() |
static ForeignKey.ReferentialAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKey.ReferentialAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKey.ReferentialAction NO_ACTION
public static final ForeignKey.ReferentialAction CASCADE
public static final ForeignKey.ReferentialAction SET_NULL
public static final ForeignKey.ReferentialAction SET_DEFAULT
public static final ForeignKey.ReferentialAction RESTRICT
public static ForeignKey.ReferentialAction[] values()
for (ForeignKey.ReferentialAction c : ForeignKey.ReferentialAction.values()) System.out.println(c);
public static ForeignKey.ReferentialAction 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 String getActionString()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.