public final class DozerFieldMappingMetadata extends Object implements FieldMappingMetadata
Constructor and Description |
---|
DozerFieldMappingMetadata(FieldMap fieldMap) |
Modifier and Type | Method and Description |
---|---|
String |
getCustomConverter()
The name of the custom converter class, or an empty string if no custom converter is used.
|
String |
getDateFormat() |
String |
getDestinationFieldGetMethod() |
String |
getDestinationFieldSetMethod() |
String |
getDestinationName() |
MappingDirection |
getMappingDirection()
Can be used to check whether a mapping in unidirectional or bidirectional.
|
String |
getSourceFieldGetMethod() |
String |
getSourceFieldSetMethod() |
String |
getSourceName() |
boolean |
isCopyByReference() |
boolean |
isDestinationFieldAccessible() |
boolean |
isSourceFieldAccessible() |
public DozerFieldMappingMetadata(FieldMap fieldMap)
public String getSourceName()
getSourceName
in interface FieldMappingMetadata
public String getDestinationName()
getDestinationName
in interface FieldMappingMetadata
public String getSourceFieldGetMethod()
getSourceFieldGetMethod
in interface FieldMappingMetadata
public String getSourceFieldSetMethod()
getSourceFieldSetMethod
in interface FieldMappingMetadata
public String getDestinationFieldGetMethod()
getDestinationFieldGetMethod
in interface FieldMappingMetadata
public String getDestinationFieldSetMethod()
getDestinationFieldSetMethod
in interface FieldMappingMetadata
public boolean isCopyByReference()
isCopyByReference
in interface FieldMappingMetadata
public boolean isSourceFieldAccessible()
isSourceFieldAccessible
in interface FieldMappingMetadata
public boolean isDestinationFieldAccessible()
isDestinationFieldAccessible
in interface FieldMappingMetadata
public MappingDirection getMappingDirection()
FieldMappingMetadata
getMappingDirection
in interface FieldMappingMetadata
MappingDirection
.public String getDateFormat()
getDateFormat
in interface FieldMappingMetadata
public String getCustomConverter()
FieldMappingMetadata
getCustomConverter
in interface FieldMappingMetadata
Copyright © 2005-2014 dozer. All Rights Reserved.