public static enum Table.ForeignKeyRule extends java.lang.Enum<Table.ForeignKeyRule>
| 枚举常量和说明 |
|---|
CASCADE |
NO_ACTION |
RESTRICT |
SET_DEFAULT |
SET_NULL |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(java.lang.String value) |
java.lang.String |
getEventOfDeleteRule() |
boolean |
isNoAction() |
static Table.ForeignKeyRule |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Table.ForeignKeyRule[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Table.ForeignKeyRule CASCADE
public static final Table.ForeignKeyRule RESTRICT
public static final Table.ForeignKeyRule SET_NULL
public static final Table.ForeignKeyRule NO_ACTION
public static final Table.ForeignKeyRule SET_DEFAULT
public static Table.ForeignKeyRule[] values()
for (Table.ForeignKeyRule c : Table.ForeignKeyRule.values()) System.out.println(c);
public static Table.ForeignKeyRule valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public boolean isNoAction()
public boolean equals(java.lang.String value)
public java.lang.String getEventOfDeleteRule()
Copyright © 2023. All Rights Reserved.