public enum LazyCollectionOption extends 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(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(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 © 2016 JBoss by Red Hat. All rights reserved.