Rule
Contents
[
Hide
]Inheritance: java.lang.Object, java.lang.Enum
public enum Rule extends Enum<System.Data.Rule>
Indicates the action that occurs when a ForeignKeyConstraint is enforced.
Fields
Field | Description |
---|---|
CASCADE | Delete or update related rows. |
NONE | No action taken on related rows. |
SET_DEFAULT | Set values in related rows to the value contained in the DataColumn.getDefaultValue() / DataColumn.setDefaultValue(java.lang.Object) property. |
SET_NULL | Set values in related rows to DBNull. |
Methods
Method | Description |
---|---|
compareTo(E arg0) | |
equals(Object arg0) | |
getDeclaringClass() | |
hashCode() | |
name() | |
ordinal() | |
toString() | |
valueOf(String name) | |
values() |
CASCADE
public static final System.Data.Rule CASCADE
Delete or update related rows. This is the default.
NONE
public static final System.Data.Rule NONE
No action taken on related rows.
SET_DEFAULT
public static final System.Data.Rule SET_DEFAULT
Set values in related rows to the value contained in the DataColumn.getDefaultValue() / DataColumn.setDefaultValue(java.lang.Object) property.
SET_NULL
public static final System.Data.Rule SET_NULL
Set values in related rows to DBNull.
valueOf(Class arg0, String arg1)
public static T <T>valueOf(Class<T> arg0, String arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Class | |
arg1 | java.lang.String |
Returns: T
compareTo(E arg0)
public final int compareTo(E arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | E |
Returns: int
equals(Object arg0)
public final boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getDeclaringClass()
public final Class<E> getDeclaringClass()
Returns:
java.lang.Class
hashCode()
public final int hashCode()
Returns: int
name()
public final String name()
Returns: java.lang.String
ordinal()
public final int ordinal()
Returns: int
toString()
public String toString()
Returns: java.lang.String
valueOf(String name)
public static System.Data.Rule valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: Rule
values()
public static System.Data.Rule[] values()
Returns: com.aspose.words.net.System.Data.Rule[]