org.simpleflatmapper.map.fieldmapper.ConstantSourceFieldMapperFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-map Show documentation
Show all versions of sfm-map Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.map.fieldmapper;
import org.simpleflatmapper.map.FieldKey;
import org.simpleflatmapper.map.FieldMapper;
import org.simpleflatmapper.map.MapperBuilderErrorHandler;
import org.simpleflatmapper.map.getter.ContextualGetter;
import org.simpleflatmapper.map.mapper.ColumnDefinition;
import org.simpleflatmapper.map.context.MappingContextFactoryBuilder;
import org.simpleflatmapper.map.mapper.PropertyMapping;
import org.simpleflatmapper.reflect.meta.ClassMeta;
import org.simpleflatmapper.util.Supplier;
import java.lang.reflect.Type;
public interface ConstantSourceFieldMapperFactory> {
FieldMapper newFieldMapper(
PropertyMapping propertyMapping,
MappingContextFactoryBuilder contextFactoryBuilder,
MapperBuilderErrorHandler mappingErrorHandler);
ContextualGetter super S, ? extends P> getGetterFromSource(
K columnKey,
Type propertyType,
ColumnDefinition columnDefinition,
Supplier> propertyClassMetaSupplier,
MappingContextFactoryBuilder, K> contextFactoryBuilder
);
}