public enum AutoMappingBehavior extends Enum<AutoMappingBehavior>
Enum Constant and Description |
---|
FULL
Will auto-map result mappings of any complexity (containing nested or otherwise).
|
NONE
Disables auto-mapping.
|
PARTIAL
Will only auto-map results with no nested result mappings defined inside.
|
Modifier and Type | Method and Description |
---|---|
static AutoMappingBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoMappingBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoMappingBehavior NONE
public static final AutoMappingBehavior PARTIAL
public static final AutoMappingBehavior FULL
public static AutoMappingBehavior[] values()
for (AutoMappingBehavior c : AutoMappingBehavior.values()) System.out.println(c);
public static AutoMappingBehavior 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 © 2010–2015 MyBatis.org. All rights reserved.