public enum DynamicInstantiationNature extends Enum<DynamicInstantiationNature>
Enum Constant and Description |
---|
CLASS
The target names a Class to be instantiated.
|
LIST
The target identified a
List instantiation. |
MAP
The target identified a
Map instantiation. |
Modifier and Type | Method and Description |
---|---|
static DynamicInstantiationNature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DynamicInstantiationNature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamicInstantiationNature CLASS
public static final DynamicInstantiationNature MAP
Map
instantiation. The
result for each "row" will be a Map whose key is the alias (or name
of the selected attribute is no alias) and whose value is the
corresponding value read from the JDBC results. Similar to JPA's
named-Tuple support.public static final DynamicInstantiationNature LIST
List
instantiation. The
result for each "row" will be a List rather than an array. Similar
to JPA's positional-Tuple support.public static DynamicInstantiationNature[] values()
for (DynamicInstantiationNature c : DynamicInstantiationNature.values()) System.out.println(c);
public static DynamicInstantiationNature 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-2021 Red Hat, Inc. All Rights Reserved.