public abstract class BeanOptionsCopier<S,T> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected BeanCopier<S> |
beanCopier |
static String |
FIELD_PREFIX_CLASS |
static String |
FIELD_PREFIX_TYPE |
protected Map<String,BeanPropertyInfo> |
properties |
protected Class<T> |
targetType |
| 构造器和说明 |
|---|
BeanOptionsCopier() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
copy(S source,
T target,
CopyOptions options) |
protected abstract void |
copyCamelToUnderlineKeys(S source,
T target,
CopyOptions options,
Set<String> targetKeys) |
protected abstract void |
copyCamelToUnderlineKeysIgnoreCase(S source,
T target,
CopyOptions options,
Set<String> targetKeys) |
protected abstract void |
copyCapitalizeKeys(S source,
T target,
CopyOptions options,
Set<String> targetKeys) |
protected abstract void |
copySameKeys(S source,
T target,
CopyOptions options,
Set<String> targetKeys) |
protected abstract void |
copySameKeysIgnoreCase(S source,
T target,
CopyOptions options,
Set<String> targetKeys) |
protected abstract void |
copyUnderlineToCamelKeys(S source,
T target,
CopyOptions options,
Set<String> targetKeys) |
protected abstract void |
copyUnderlineToCamelKeysIgnoreCase(S source,
T target,
CopyOptions options,
Set<String> targetKeys) |
protected Type |
getPropertyGenericType(String propertyName) |
protected Class<?> |
getPropertyType(String propertyName) |
protected abstract void |
initTypeFields() |
protected void |
resolveCopyError(String propertyName,
Throwable e,
CopyOptions options) |
protected BeanCopier<S> beanCopier
protected Map<String,BeanPropertyInfo> properties
protected final void copy(S source, T target, CopyOptions options)
protected abstract void initTypeFields()
protected abstract void copySameKeys(S source, T target, CopyOptions options, Set<String> targetKeys)
protected abstract void copyCapitalizeKeys(S source, T target, CopyOptions options, Set<String> targetKeys)
protected abstract void copyUnderlineToCamelKeys(S source, T target, CopyOptions options, Set<String> targetKeys)
protected abstract void copyCamelToUnderlineKeys(S source, T target, CopyOptions options, Set<String> targetKeys)
protected abstract void copySameKeysIgnoreCase(S source, T target, CopyOptions options, Set<String> targetKeys)
protected abstract void copyUnderlineToCamelKeysIgnoreCase(S source, T target, CopyOptions options, Set<String> targetKeys)
protected abstract void copyCamelToUnderlineKeysIgnoreCase(S source, T target, CopyOptions options, Set<String> targetKeys)
protected final void resolveCopyError(String propertyName, Throwable e, CopyOptions options)
Copyright © 2024 fossc. All rights reserved.