org.sfm.map.FieldMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleFlatMapper Show documentation
Show all versions of simpleFlatMapper Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.sfm.map;
public interface FieldMapper {
/**
* map source object to target object.
* @param source object to map from
* @param target object to map to
* @param context the mapping context
* @throws Exception if an exception occurs
*/
void mapTo(S source, T target, MappingContext context) throws Exception;
}