public class ConverterUtils
extends org.springframework.beans.BeanUtils
IndirectArrayList
,
org.appverse.web.framework.backend.aop.aspects.ConverterAspect
Constructor and Description |
---|
ConverterUtils() |
Modifier and Type | Method and Description |
---|---|
static <TargetBean extends AbstractBean> |
convert(AbstractBean source,
Class<TargetBean> targetClass,
IBeanConverter[] converters)
Creates target bean of targetClass type copying source properties to ones
with the same name at target.
|
copyProperties, copyProperties, copyProperties, findDeclaredMethod, findDeclaredMethodWithMinimalParameters, findEditorByConvention, findMethod, findMethodWithMinimalParameters, findMethodWithMinimalParameters, findPropertyForMethod, findPropertyType, getPropertyDescriptor, getPropertyDescriptors, getWriteMethodParameter, instantiate, instantiateClass, instantiateClass, instantiateClass, isSimpleProperty, isSimpleValueType, resolveSignature
public static <TargetBean extends AbstractBean> TargetBean convert(AbstractBean source, Class<TargetBean> targetClass, IBeanConverter[] converters) throws Exception
source
- Source Bean to copytargetClass
- Type of target bean to generateconverters
- List of conveters of child bean propertiesException
Copyright © 2011-2015 Appverse. All Rights Reserved.