public class CreateAndCopy<T> extends AbstractCopy<CreateAndCopy<T>>
修飾子とタイプ | フィールドと説明 |
---|---|
protected Class<T> |
destClass
作成対象クラス
|
protected Object |
src
コピー元
|
beanDelimiter, beanMapExchange, copyOptions, EMPTY_STRING_ARRAY, excludePropertyNames, excludesNull, excludesWhitespace, includePropertyNames, mapDelimiter, nestBeanPropertyNames, prefix, prefixPropertyNames, propertyDelimiter, restorePropertyMap, whiteSpacePropertyNames
コンストラクタと説明 |
---|
CreateAndCopy(Class<T> destClass,
Object src)
インスタンスを構築する。
|
修飾子とタイプ | メソッドと説明 |
---|---|
T |
execute()
JavaBeansやMapを作成し、プロパティをコピーする。
|
beanDelimiter, copyBeanToBean, copyBeanToMap, copyMapToBean, copyMapToMap, createAndCopyBeanToBean, createAndCopyBeanToMap, createAndcopyMapToBean, createAndCopyMapToMap, excludes, excludesNull, excludesWhitespace, includes, isTargetProperty, mapDelimiter, prefix, toStringArray, trimPrefix
public CreateAndCopy(Class<T> destClass, Object src) throws NullPointerException
destClass
- 作成対象クラスsrc
- コピー元NullPointerException
- 引数がnull
だった場合public T execute()