protected final void mapFields(InputStream source, final DbObject target, MappingContext<? super InputStream> mappingContext) throws Exception { mapper1.mapTo(source, target, mappingContext); mapper2.mapTo(source, target, mappingContext); mapper3.mapTo(source, target, mappingContext); mapper4.mapTo(source, target, mappingContext); }
protected final void mapFields(InputStream source, final DbObject target, MappingContext<? super InputStream> mappingContext) throws Exception { mapper1.mapTo(source, target, mappingContext); mapper2.mapTo(source, target, mappingContext); mapperSetter3.set(target, MyGetter.get(source, mappingContext, 3)); mapper4.mapTo(source, target, mappingContext); }