public class CascadeActionEnum
extends org.apache.commons.lang.enums.ValuedEnum
| Modifier and Type | Field and Description |
|---|---|
static CascadeActionEnum |
CASCADE
The enum value for a cascade action which directs the database to apply the change to
the referenced table also to this table.
|
static CascadeActionEnum |
NONE
The enum value for the cascade action that directs the database to not change the local column
when the value of the referenced column changes, only check the foreign key constraint.
|
static CascadeActionEnum |
RESTRICT
The enum value for a cascade action which directs the database to restrict the change
changes to the referenced column.
|
static CascadeActionEnum |
SET_DEFAULT
The enum value for a cascade action which directs the database to set the local columns
referenced by the foreign key to the default value when the referenced row changes/is deleted.
|
static CascadeActionEnum |
SET_NULL
The enum value for a cascade action which directs the database to set the local columns
referenced by the foreign key to null when the referenced row changes/is deleted.
|
static int |
VALUE_CASCADE
The integer value for the enum value for a cascade action.
|
static int |
VALUE_NONE
The integer value for the enum value for no-action.
|
static int |
VALUE_RESTRICT
The integer value for the enum value for a restrict action.
|
static int |
VALUE_SET_DEFAULT
The integer value for the enum value for a set-null action.
|
static int |
VALUE_SET_NULL
The integer value for the enum value for a set-null action.
|
| Modifier and Type | Method and Description |
|---|---|
static CascadeActionEnum |
getEnum(int intValue)
Returns the enum value that corresponds to the given integer
representation.
|
static CascadeActionEnum |
getEnum(String defaultTextRep)
Returns the enum value that corresponds to the given textual
representation.
|
static List |
getEnumList()
Returns a list of all enum values.
|
static Map |
getEnumMap()
Returns the map of enum values.
|
static Iterator |
iterator()
Returns an iterator of all enum values.
|
compareTo, getEnum, getValue, toStringpublic static final int VALUE_CASCADE
public static final int VALUE_SET_NULL
public static final int VALUE_SET_DEFAULT
public static final int VALUE_RESTRICT
public static final int VALUE_NONE
public static final CascadeActionEnum CASCADE
public static final CascadeActionEnum SET_NULL
public static final CascadeActionEnum SET_DEFAULT
public static final CascadeActionEnum RESTRICT
NONE.public static final CascadeActionEnum NONE
public static CascadeActionEnum getEnum(String defaultTextRep)
defaultTextRep - The textual representationpublic static CascadeActionEnum getEnum(int intValue)
intValue - The integer valuepublic static Map getEnumMap()
public static List getEnumList()
public static Iterator iterator()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.