public enum InverseRemoveStrategy extends java.lang.Enum<InverseRemoveStrategy>
Enum Constant | 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 | Description |
---|---|---|
static InverseRemoveStrategy |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2018 Blazebit. All rights reserved.