public enum InverseRemoveStrategy extends Enum<InverseRemoveStrategy>
| Enum Constant and Description |
|---|
IGNORE
Ignores the fact that elements were removed from the inverse relation.
|
REMOVE
Actually deletes the removed elements.
|
SET_NULL
Sets the mapped by attribute of removed elements to
null. |
| Modifier and Type | Method and Description |
|---|---|
static InverseRemoveStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InverseRemoveStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InverseRemoveStrategy IGNORE
public static final InverseRemoveStrategy SET_NULL
null.public static final InverseRemoveStrategy REMOVE
public static InverseRemoveStrategy[] values()
for (InverseRemoveStrategy c : InverseRemoveStrategy.values()) System.out.println(c);
public static InverseRemoveStrategy 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 © 2014–2018 Blazebit. All rights reserved.