public enum TOnDeleteAction extends Enum<TOnDeleteAction>
Java class for TOnDeleteAction.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TOnDeleteAction">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="Cascade"/>
<enumeration value="None"/>
<enumeration value="SetDefault"/>
<enumeration value="SetNull"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CASCADE |
NONE |
SET_DEFAULT |
SET_NULL |
| Modifier and Type | Method and Description |
|---|---|
static TOnDeleteAction |
fromValue(String v) |
String |
value() |
static TOnDeleteAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TOnDeleteAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TOnDeleteAction CASCADE
public static final TOnDeleteAction NONE
public static final TOnDeleteAction SET_DEFAULT
public static final TOnDeleteAction SET_NULL
public static TOnDeleteAction[] values()
for (TOnDeleteAction c : TOnDeleteAction.values()) System.out.println(c);
public static TOnDeleteAction 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 value()
public static TOnDeleteAction fromValue(String v)
Copyright © 2018–2020. All rights reserved.