private String getValue ( final String value , final String mappedFieldName ) { if ( isNull ( value ) ) return null ; return value . equals ( DEFAULT_FIELD_VALUE ) ? mappedFieldName : value ; }
This method compare the name of the target field with the DEFAULT_FIELD_VALUE and returns the final value .