T - the targeted type of the mapperpublic class SetRowMapperBuilderImpl<M extends SetRowMapper<ROW,SET,T,E>,ROW,SET,T,K extends FieldKey<K>,E extends Exception> extends Object implements SetRowMapperBuilder<M,ROW,SET,T,K,E>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SetRowMapperBuilderImpl.SetRowMapperFactory<M extends SetRowMapper<ROW,SET,T,E>,ROW,SET,T,E extends Exception> |
| Modifier and Type | Field and Description |
|---|---|
protected MapperConfig<K,ROW> |
mapperConfig |
protected MappingContextFactoryBuilder<? super ROW,K> |
mappingContextFactoryBuilder |
| Constructor and Description |
|---|
SetRowMapperBuilderImpl(org.simpleflatmapper.reflect.meta.ClassMeta<T> classMeta,
MappingContextFactoryBuilder<ROW,K> parentBuilder,
MapperConfig<K,ROW> mapperConfig,
MapperSource<? super ROW,K> mapperSource,
KeyFactory<K> keyFactory,
org.simpleflatmapper.util.UnaryFactory<SET,org.simpleflatmapper.util.Enumerable<ROW>> enumerableFactory,
SetRowMapperBuilderImpl.SetRowMapperFactory<M,ROW,SET,T,E> setRowMapperFactory,
KeySourceGetter<K,? super ROW> keySourceGetter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMapper(FieldMapper<ROW,T> mapper) |
void |
addMapping(K key,
ColumnDefinition<K,?> columnDefinition) |
List<K> |
getKeys() |
MappingContextFactoryBuilder<? super ROW,K> |
getMappingContextFactoryBuilder() |
boolean |
isRootAggregate() |
M |
mapper() |
MapperConfig<K,ROW> |
mapperConfig() |
ContextualSourceFieldMapperImpl<ROW,T> |
sourceFieldMapper() |
protected final MapperConfig<K extends FieldKey<K>,ROW> mapperConfig
protected final MappingContextFactoryBuilder<? super ROW,K extends FieldKey<K>> mappingContextFactoryBuilder
public SetRowMapperBuilderImpl(org.simpleflatmapper.reflect.meta.ClassMeta<T> classMeta, MappingContextFactoryBuilder<ROW,K> parentBuilder, MapperConfig<K,ROW> mapperConfig, MapperSource<? super ROW,K> mapperSource, KeyFactory<K> keyFactory, org.simpleflatmapper.util.UnaryFactory<SET,org.simpleflatmapper.util.Enumerable<ROW>> enumerableFactory, SetRowMapperBuilderImpl.SetRowMapperFactory<M,ROW,SET,T,E> setRowMapperFactory, KeySourceGetter<K,? super ROW> keySourceGetter)
classMeta - the meta for the target class.parentBuilder - the parent builder, null if none.mapperConfig - the mapperConfig.mapperSource - the Mapper source.keyFactory - enumerableFactory - keySourceGetter - public final M mapper()
public final ContextualSourceFieldMapperImpl<ROW,T> sourceFieldMapper()
public boolean isRootAggregate()
public final void addMapper(FieldMapper<ROW,T> mapper)
public final void addMapping(K key, ColumnDefinition<K,?> columnDefinition)
public MapperConfig<K,ROW> mapperConfig()
public MappingContextFactoryBuilder<? super ROW,K> getMappingContextFactoryBuilder()
Copyright © 2018. All rights reserved.