Package | Description |
---|---|
com.github.erchu.beancp |
Object to object mapping library.
|
Modifier and Type | Method and Description |
---|---|
<S,D> MapperBuilder |
MapperBuilder.addConverter(Class<S> sourceClass,
Class<D> destinationClass,
java.util.function.BiFunction<Mapper,S,D> convertionAction)
Adds new mapping implemented by converter.
|
<S,D> MapperBuilder |
MapperBuilder.addConverter(Class<S> sourceClass,
Class<D> destinationClass,
java.util.function.Function<S,D> convertionAction)
Adds new mapping implemented by converter.
|
MapperBuilder |
MapperBuilder.addConverter(Converter<?,?>... converters)
Adds new mapping implemented by converters.
|
<S,D> MapperBuilder |
MapperBuilder.addMap(Class<S> sourceClass,
Class<D> destinationClass,
DeclarativeMapSetup<S,D> mapConfiguration)
Adds new mapping defined by map.
|
MapperBuilder |
MapperBuilder.addMapAnyByConvention(MapConvention... conventions)
If two data types has no mapping defined by
addMap(java.lang.Class, java.lang.Class, com.github.erchu.beancp.DeclarativeMapSetup) or any of
addConverter methods then this convention will be used. |
Copyright © 2014. All rights reserved.