@Component public class GaussBeanMapper extends Object
GaussBeanMapper copy all fields from one class to another, but does copy object same with
Cloneable| Constructor and Description |
|---|
GaussBeanMapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
init() |
static <S,D> void |
mapperRegister(Class<S> source,
Class<D> target,
Map<String,String[]> fieldMaps) |
static <S,D> D |
mapping(S source,
Class<D> destClazz) |
static <S,D> void |
mapping(S source,
D target) |
@PostConstruct public void init()
public static <S,D> void mapperRegister(Class<S> source, Class<D> target, @Nullable Map<String,String[]> fieldMaps)
public static <S,D> void mapping(S source,
D target)
public static <S,D> D mapping(S source,
Class<D> destClazz)
Copyright © 2022. All rights reserved.