public enum OrphanRemovalStrategy extends Enum<OrphanRemovalStrategy>
| Enum Constant and Description |
|---|
KEEP_ORPHANS |
REMOVE_ORPHANS |
| Modifier and Type | Method and Description |
|---|---|
static OrphanRemovalStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OrphanRemovalStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrphanRemovalStrategy REMOVE_ORPHANS
public static final OrphanRemovalStrategy KEEP_ORPHANS
public static OrphanRemovalStrategy[] values()
for (OrphanRemovalStrategy c : OrphanRemovalStrategy.values()) System.out.println(c);
public static OrphanRemovalStrategy 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 © 2021. All rights reserved.