public enum ConstraintActionType extends Enum<ConstraintActionType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getSqlName()
Get standard SQL type name.
|
static ConstraintActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- 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 getSqlName()
Copyright © 2020 JBoss by Red Hat. All rights reserved.