public static enum LoadPlan.Disposition extends Enum<LoadPlan.Disposition>
Enum Constant and Description |
---|
COLLECTION_INITIALIZER
This is a "collection initializer" load plan, which describes a plan for loading one or more entity instances of
the same collection type.
|
ENTITY_LOADER
This is an "entity loader" load plan, which describes a plan for loading one or more entity instances of
the same entity type.
|
MIXED
We have a mixed load plan, which will have one or more returns of
EntityReturn
and ScalarReturn (NOT CollectionReturn ). |
Modifier and Type | Method and Description |
---|---|
static LoadPlan.Disposition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoadPlan.Disposition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoadPlan.Disposition ENTITY_LOADER
EntityReturn
public static final LoadPlan.Disposition COLLECTION_INITIALIZER
CollectionReturn
public static final LoadPlan.Disposition MIXED
EntityReturn
and ScalarReturn
(NOT CollectionReturn
).public static LoadPlan.Disposition[] values()
for (LoadPlan.Disposition c : LoadPlan.Disposition.values()) System.out.println(c);
public static LoadPlan.Disposition 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 © 2017 JBoss by Red Hat. All rights reserved.