Package ywebservicespackage.populators
Class SampleAddressPopulator
java.lang.Object
ywebservicespackage.populators.SampleAddressPopulator
- All Implemented Interfaces:
Populator<AddressModel,AddressData>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleangetBoolean(Boolean val, boolean def) protected StringgetFormattedAddress(AddressModel source) voidpopulate(AddressModel source, AddressData target) Populate the target instance with values from the source instance.
-
Constructor Details
-
SampleAddressPopulator
public SampleAddressPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AddressModel,AddressData> - Parameters:
source- the source objecttarget- the target to fill
-
getBoolean
-
getFormattedAddress
-