All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.simpleflatmapper.map.fieldmapper.ConstantSourceFieldMapperFactory Maven / Gradle / Ivy

Go to download

Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.

There is a newer version: 9.0.2
Show newest version
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 getGetterFromSource( K columnKey, Type propertyType, ColumnDefinition columnDefinition, Supplier> propertyClassMetaSupplier, MappingContextFactoryBuilder contextFactoryBuilder ); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy