public enum MapStrategyType extends Enum<MapStrategyType>
Enum Constant and Description |
---|
CREATE_DYNAMIC_CLASS |
MAP_COLLECTION |
MAP_TO_CLASS |
MAP_TO_INSTANCE |
Modifier and Type | Method and Description |
---|---|
static MapStrategyType |
determineStrategy(Configuration configuration) |
MapStrategy |
generateMapStrategy(BeanMapper beanMapper,
Configuration configuration) |
static MapStrategy |
getStrategy(BeanMapper beanMapper,
Configuration configuration) |
static MapStrategyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapStrategyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapStrategyType CREATE_DYNAMIC_CLASS
public static final MapStrategyType MAP_COLLECTION
public static final MapStrategyType MAP_TO_CLASS
public static final MapStrategyType MAP_TO_INSTANCE
public static MapStrategyType[] values()
for (MapStrategyType c : MapStrategyType.values()) System.out.println(c);
public static MapStrategyType 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 nullpublic static MapStrategy getStrategy(BeanMapper beanMapper, Configuration configuration)
public static MapStrategyType determineStrategy(Configuration configuration)
public MapStrategy generateMapStrategy(BeanMapper beanMapper, Configuration configuration)
Copyright © 2015-2016 42 BV. All Rights Reserved.