AbstractPopulatingConverter
Populating converter that uses a list of configured populators to populate the target during conversion.@Deprecated public class AbstractPopulatingConverter<SOURCE,TARGET> extends AbstractPopulatingConverter<SOURCE,TARGET>
| Constructor and Description |
|---|
AbstractPopulatingConverter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
TARGET |
convert(SOURCE source)
Deprecated.
Converts the source object, creating a new instance of the destination type
|
protected TARGET |
createFromClass()
Deprecated.
|
protected TARGET |
createTarget()
Deprecated.
Since 5.2. Please inject the target class directly, since it's way faster than the Spring
|
void |
setBeanName(java.lang.String name)
Deprecated.
|
void |
setTargetClass(java.lang.Class<TARGET> targetClass)
Deprecated.
Allows to specify the target object class directly.
|
getPopulators, populate, removePopulatorsDuplicates, setPopulatorsconvert, getMyBeanNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAll, convertAllIgnoreExceptions, getLoggerpublic TARGET convert(SOURCE source) throws ConversionException
Converterconvert in interface Converter<SOURCE,TARGET>convert in class AbstractConverter<SOURCE,TARGET>source - the source objectConversionException - if an error occurspublic void setTargetClass(java.lang.Class<TARGET> targetClass)
setTargetClass in class AbstractConverter<SOURCE,TARGET>protected TARGET createFromClass()
createFromClass in class AbstractConverter<SOURCE,TARGET>@Deprecated protected TARGET createTarget()
createTarget in class AbstractConverter<SOURCE,TARGET>public void setBeanName(java.lang.String name)
setBeanName in class AbstractConverter<SOURCE,TARGET>public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in class AbstractConverter<SOURCE,TARGET>java.lang.ExceptionCopyright © 2017 SAP SE. All Rights Reserved.