public enum AggregateConstraintType extends java.lang.Enum<AggregateConstraintType> implements SelectionValue
| Enum Constant and Description |
|---|
CASCADE |
DEFAULT |
NO_ACTION |
NULL |
RESTRICT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getValue() |
static AggregateConstraintType |
ofSqlRule(java.lang.Integer rule) |
static AggregateConstraintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AggregateConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregateConstraintType NO_ACTION
public static final AggregateConstraintType CASCADE
public static final AggregateConstraintType NULL
public static final AggregateConstraintType DEFAULT
public static final AggregateConstraintType RESTRICT
public static AggregateConstraintType[] values()
for (AggregateConstraintType c : AggregateConstraintType.values()) System.out.println(c);
public static AggregateConstraintType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static AggregateConstraintType ofSqlRule(java.lang.Integer rule) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getValue()
getValue in interface SelectionValuepublic java.lang.String getDescription()
getDescription in interface SelectionValue