public static enum ForeignKey.ReferentialAction extends java.lang.Enum<ForeignKey.ReferentialAction>
Enum Constant and Description |
---|
CASCADE |
NO_ACTION |
RESTRICT |
SET_DEFAULT |
SET_NULL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionString() |
static ForeignKey.ReferentialAction |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getActionString()
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.