package uk.ac.ox.ndm.grails.utils.databinding;

import java.util.Map;

/**
 * @since 19/01/2016
 */
public interface DataBindingSourceCreatorHelper {

    Object checkDataBindingSourceMap(Map<String, ?> dataBindingSourceMap, Class bindingTargetType);
}

package uk.ac.ox.ndm.grails.utils.databinding;

import java.util.List;
import java.util.Map;

/**
 * @since 19/01/2016
 */
public interface DataBindingSourceCreatorHelper {

    Map convertBindingTargetTypeListToMap(List<Object> dataList, Class bindingTargetType);

    Boolean convertsBindingTargetTypeListsToMap(Class bindingTargetType);

    Object handleDataBindingSourceMap(Map<String, ?> dataBindingSourceMap, Class bindingTargetType);

    Boolean handlesBindingTargetTypeMaps(Class bindingTargetType);
}

Add handling methds to the databinder helper interface
Add handling methds to the databinder helper interface

* boolean methods for whether it handles the class to speed up searching
* handles list to map conversions as well
