public enum ConstraintActionType extends Enum<ConstraintActionType>
| 枚举常量和说明 |
|---|
CASCADE
The action is to cascade the operation.
|
RESTRICT
The action is to restrict the operation.
|
SET_DEFAULT
The action is to set the value to the default value.
|
SET_NULL
The action is to set the value to NULL.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getSqlName()
Get standard SQL type name.
|
static ConstraintActionType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConstraintActionType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ConstraintActionType RESTRICT
public static final ConstraintActionType CASCADE
public static final ConstraintActionType SET_DEFAULT
public static final ConstraintActionType SET_NULL
public static ConstraintActionType[] values()
for (ConstraintActionType c : ConstraintActionType.values()) System.out.println(c);
public static ConstraintActionType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getSqlName()
Copyright © 2022. All rights reserved.