Serializable, Comparable<RefAct>, ToSqlpublic enum RefAct extends Enum<RefAct> implements ToSql
| Enum Constant | Description |
|---|---|
Cascade |
|
NoAction |
|
Restrict |
|
SetDefault |
|
SetNull |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getRule() |
|
void |
toSql(Appendable a) |
|
static RefAct |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static RefAct[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcomma, commaNames, doubleQuote, isEmpty, isNotEmpty, nullToEmpty, requireNotEmpty, singleQuote, toSqlpublic static final RefAct SetNull
public static final RefAct SetDefault
public static final RefAct Cascade
public static final RefAct Restrict
public static final RefAct NoAction
public static RefAct[] values()
for (RefAct c : RefAct.values()) System.out.println(c);
public static RefAct 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 void toSql(Appendable a) throws IOException
toSql in interface ToSqlIOExceptionpublic int getRule()
DatabaseMetaData.importedKeyNoAction, ...Copyright © 2018. All rights reserved.