public enum LazyCollectionOption extends Enum<LazyCollectionOption>
Lazy options available for a collection.
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(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
Eagerly load it.
public static final LazyCollectionOption TRUE
Load it when the state is requested.
public static final LazyCollectionOption EXTRA
Prefer extra queries over full collection loading.
public static LazyCollectionOption[] values()
for (LazyCollectionOption c : LazyCollectionOption.values()) System.out.println(c);
public static LazyCollectionOption 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 © 2001-2018 Red Hat, Inc. All Rights Reserved.