public static enum LoadPlan.Disposition extends Enum<LoadPlan.Disposition>
| Enum Constant and Description | 
|---|
| COLLECTION_INITIALIZERThis is a "collection initializer" load plan, which describes a plan for loading one or more entity instances of
 the same collection type. | 
| ENTITY_LOADERThis is an "entity loader" load plan, which describes a plan for loading one or more entity instances of
 the same entity type. | 
| MIXEDWe have a mixed load plan, which will have one or more returns of  EntityReturnandScalarReturn(NOTCollectionReturn). | 
| 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
EntityReturnpublic static final LoadPlan.Disposition COLLECTION_INITIALIZER
CollectionReturnpublic 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 © 2016 JBoss by Red Hat. All rights reserved.