public enum LazyToOneOption extends Enum<LazyToOneOption>
| Enum Constant and Description |
|---|
FALSE
Eagerly load the association.
|
NO_PROXY
Lazy, give back the real object loaded when a reference is requested.
|
PROXY
Lazy, give back a proxy which will be loaded when the state is requested.
|
| Modifier and Type | Method and Description |
|---|---|
static LazyToOneOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LazyToOneOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LazyToOneOption FALSE
public static final LazyToOneOption PROXY
public static final LazyToOneOption NO_PROXY
PROXY
if the class is not enhanced. This option should be avoided unless you can't afford
the use of proxiespublic static LazyToOneOption[] values()
for (LazyToOneOption c : LazyToOneOption.values()) System.out.println(c);
public static LazyToOneOption 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.