public class AbstractPopulatingConverter<SOURCE,TARGET> extends AbstractConverter<SOURCE,TARGET> implements PopulatorList<SOURCE,TARGET>
| Constructor and Description |
|---|
AbstractPopulatingConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Populator<SOURCE,TARGET>> |
getPopulators()
Get the list of populators.
|
void |
populate(SOURCE source,
TARGET target)
Populate the target instance from the source instance.
|
void |
removePopulatorsDuplicates() |
void |
setPopulators(java.util.List<Populator<SOURCE,TARGET>> populators)
Set the list of populators.
|
afterPropertiesSet, convert, convert, createFromClass, createTarget, getMyBeanName, setBeanName, setTargetClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAll, convertAllIgnoreExceptions, getLoggerpublic java.util.List<Populator<SOURCE,TARGET>> getPopulators()
PopulatorListgetPopulators in interface PopulatorList<SOURCE,TARGET>public void setPopulators(java.util.List<Populator<SOURCE,TARGET>> populators)
PopulatorListsetPopulators in interface PopulatorList<SOURCE,TARGET>populators - the populatorspublic void populate(SOURCE source, TARGET target)
populate in interface Populator<SOURCE,TARGET>populate in class AbstractConverter<SOURCE,TARGET>source - the source itemtarget - the target item to populateAbstractConverter.setTargetClass(Class)@PostConstruct public void removePopulatorsDuplicates()
Copyright © 2018 SAP SE. All Rights Reserved.