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()
Gets date format used when mapping
|
String |
getDestinationFieldGetMethod()
Gets the destination field get method
|
String |
getDestinationFieldSetMethod()
Gets the destination field set method
|
String |
getDestinationName()
Gets the destination field name
|
String |
getMapId()
Returns the map id of this mapping definition used for contextual mapping selection.
|
MappingDirection |
getMappingDirection()
Can be used to check whether a mapping in unidirectional or bidirectional.
|
String |
getSourceFieldGetMethod()
Gets the source field get method
|
String |
getSourceFieldSetMethod()
Gets the source field set method
|
String |
getSourceName()
Gets the source field name
|
boolean |
isCopyByReference()
Gets whether mapping should copy by reference
|
boolean |
isDestinationFieldAccessible() |
boolean |
isSourceFieldAccessible() |
public DozerFieldMappingMetadata(FieldMap fieldMap)
public String getSourceName()
FieldMappingMetadatagetSourceName in interface FieldMappingMetadatapublic String getDestinationName()
FieldMappingMetadatagetDestinationName in interface FieldMappingMetadatapublic String getSourceFieldGetMethod()
FieldMappingMetadatagetSourceFieldGetMethod in interface FieldMappingMetadatapublic String getSourceFieldSetMethod()
FieldMappingMetadatagetSourceFieldSetMethod in interface FieldMappingMetadatapublic String getDestinationFieldGetMethod()
FieldMappingMetadatagetDestinationFieldGetMethod in interface FieldMappingMetadatapublic String getDestinationFieldSetMethod()
FieldMappingMetadatagetDestinationFieldSetMethod in interface FieldMappingMetadatapublic boolean isCopyByReference()
FieldMappingMetadataisCopyByReference in interface FieldMappingMetadatapublic boolean isSourceFieldAccessible()
isSourceFieldAccessible in interface FieldMappingMetadatapublic boolean isDestinationFieldAccessible()
isDestinationFieldAccessible in interface FieldMappingMetadatapublic MappingDirection getMappingDirection()
FieldMappingMetadatagetMappingDirection in interface FieldMappingMetadataMappingDirection.public String getDateFormat()
FieldMappingMetadatagetDateFormat in interface FieldMappingMetadatapublic String getCustomConverter()
FieldMappingMetadatagetCustomConverter in interface FieldMappingMetadatapublic String getMapId()
FieldMappingMetadatagetMapId in interface FieldMappingMetadataCopyright © 2005–2021 dozer. All rights reserved.