public static enum ForeignKey.FKAction extends Enum<ForeignKey.FKAction>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ForeignKey.FKAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKey.FKAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKey.FKAction CASCADE
public static final ForeignKey.FKAction RESTRICT
public static final ForeignKey.FKAction NULL
public static final ForeignKey.FKAction DEFAULT
public static ForeignKey.FKAction[] values()
for (ForeignKey.FKAction c : ForeignKey.FKAction.values()) System.out.println(c);
public static ForeignKey.FKAction 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 toString()
toString
in class Enum<ForeignKey.FKAction>
Copyright © 2015. All rights reserved.