Rule

Contents
[ ]

Inheritance: java.lang.Object, java.lang.Enum

public enum Rule extends Enum<Rule>

A utility class providing constants. Indicates the action that occurs when a ForeignKeyConstraint is enforced.

Fields

Field Description
NONE No action taken on related rows.
CASCADE Delete or update related rows.
SET_NULL Set values in related rows to DBNull.
SET_DEFAULT Set values in related rows to the value contained in the DataColumn.getDefaultValue() / DataColumn.setDefaultValue(java.lang.Object) property.

Methods

Method Description
values()
valueOf(String name)

NONE

public static final Rule NONE

No action taken on related rows.

CASCADE

public static final Rule CASCADE

Delete or update related rows. This is the default.

SET_NULL

public static final Rule SET_NULL

Set values in related rows to DBNull.

SET_DEFAULT

public static final Rule SET_DEFAULT

Set values in related rows to the value contained in the DataColumn.getDefaultValue() / DataColumn.setDefaultValue(java.lang.Object) property.

values()

public static Rule[] values()

Returns: com.groupdocs.assembly.system.data.Rule[]

valueOf(String name)

public static Rule valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: Rule