public static enum BaseEntityRef.OnDelete extends Enum<BaseEntityRef.OnDelete>
Enum Constant and Description |
---|
CASCADE
Also delete the entity which references the entity being deleted.
|
IGNORE
No further checks are performed.
|
REJECT
Reject the delete.
|
SET_NULL
Set the entity reference to null once an entity is deleted.
|
Modifier and Type | Method and Description |
---|---|
static BaseEntityRef.OnDelete |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BaseEntityRef.OnDelete[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BaseEntityRef.OnDelete CASCADE
public static final BaseEntityRef.OnDelete SET_NULL
public static final BaseEntityRef.OnDelete REJECT
public static final BaseEntityRef.OnDelete IGNORE
public static BaseEntityRef.OnDelete[] values()
for (BaseEntityRef.OnDelete c : BaseEntityRef.OnDelete.values()) System.out.println(c);
public static BaseEntityRef.OnDelete 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 nullCopyright © 2018. All rights reserved.