Rule
Leave feedback
On this page
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.
| 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. |
| Method | Description |
|---|---|
| values() | |
| valueOf(String name) |
public static final Rule NONE
No action taken on related rows.
public static final Rule CASCADE
Delete or update related rows. This is the default.
public static final Rule SET_NULL
Set values in related rows to DBNull.
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.
public static Rule[] values()
Returns: com.groupdocs.assembly.system.data.Rule[]
public static Rule valueOf(String name)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: Rule
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.