ma.glasnost.orika
Interface DefaultFieldMapper

All Known Implementing Classes:
MappingHint.DefaultFieldMappingConverter

public interface DefaultFieldMapper

Provides a generic mapping suggestion mechanism to provide help with guessing default mappings of fields when a straight equivalent name match is not found

Author:
matt.deboer@gmail.com

Method Summary
 String suggestMappedField(String fromProperty, Type<?> fromPropertyType)
           
 

Method Detail

suggestMappedField

String suggestMappedField(String fromProperty,
                          Type<?> fromPropertyType)
Parameters:
sourceExpression -
Returns:
a suggested optional mapping name for the given property, or null if no suggestion for the given property


Copyright © 2013 Glasnost. All Rights Reserved.