public enum LazyCollectionOption extends java.lang.Enum<LazyCollectionOption>
| Enum Constant and Description |
|---|
EXTRA
Prefer extra queries over full collection loading.
|
FALSE
Eagerly load it.
|
TRUE
Load it when the state is requested.
|
| Modifier and Type | Method and Description |
|---|---|
static LazyCollectionOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LazyCollectionOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LazyCollectionOption FALSE
public static final LazyCollectionOption TRUE
public static final LazyCollectionOption EXTRA
public static LazyCollectionOption[] values()
for (LazyCollectionOption c : LazyCollectionOption.values()) System.out.println(c);
public static LazyCollectionOption 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 © 2001-2018 Red Hat, Inc. All Rights Reserved.