public class ExtendedCustomerPopulator extends java.lang.Object implements Populator<CustomerModel,CustomerData>
CustomerModel as source and
CustomerData as target type.| Constructor and Description |
|---|
ExtendedCustomerPopulator() |
| Modifier and Type | Method and Description |
|---|---|
protected Converter<AddressModel,AddressData> |
getAddressConverter() |
void |
populate(CustomerModel source,
CustomerData target)
Populate the target instance with values from the source instance.
|
void |
setAddressConverter(Converter<AddressModel,AddressData> addressConverter) |
protected Converter<AddressModel,AddressData> getAddressConverter()
public void setAddressConverter(Converter<AddressModel,AddressData> addressConverter)
public void populate(CustomerModel source, CustomerData target) throws ConversionException
Populatorpopulate in interface Populator<CustomerModel,CustomerData>source - the source objecttarget - the target to fillConversionException - if an error occursCopyright © 2018 SAP SE. All Rights Reserved.