public enum MappingType extends Enum<MappingType>
Enum Constant and Description |
---|
FIELD_TO_FIELD
Map from source field to target field
|
FIELD_TO_SETTER
Map from source field to target setter
|
GETTER_TO_FIELD
Map from source getter to target field
|
GETTER_TO_SETTER
Map from source getter to target setter
|
Modifier and Type | Method and Description |
---|---|
static MappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingType FIELD_TO_FIELD
public static final MappingType FIELD_TO_SETTER
public static final MappingType GETTER_TO_FIELD
public static final MappingType GETTER_TO_SETTER
public static MappingType[] values()
for (MappingType c : MappingType.values()) System.out.println(c);
public static MappingType 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 © 2005–2015 dozer. All rights reserved.