S - 来源对象类型T - 目标对象类型public abstract class AbsCopier<S,T> extends Object implements Copier<T>
| Modifier and Type | Field and Description |
|---|---|
protected CopyOptions |
copyOptions
拷贝选项
|
protected S |
source
来源对象
|
protected T |
target
目标对象
|
| Constructor and Description |
|---|
AbsCopier(S source,
T target,
CopyOptions copyOptions)
构造
|
| Modifier and Type | Method and Description |
|---|---|
protected BeanDesc |
getBeanDesc(Class<?> actualEditable)
获取Bean描述信息
如果用户自定义了 BeanDesc实现,则使用,否则使用默认的规则 |
protected final S source
protected final T target
protected final CopyOptions copyOptions
public AbsCopier(S source, T target, CopyOptions copyOptions)
source - 源对象target - 目标对象copyOptions - 拷贝选项Copyright © 2025. All rights reserved.