Class SingleLineAddressFormatPopulator

  • All Implemented Interfaces:
    Populator<AddressModel,​java.lang.StringBuilder>

    public class SingleLineAddressFormatPopulator
    extends java.lang.Object
    implements Populator<AddressModel,​java.lang.StringBuilder>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<java.lang.String> getAddressFormatList()  
      void populate​(AddressModel addressModel, java.lang.StringBuilder addressLine)
      Populate the target instance with values from the source instance.
      void setAddressFormatList​(java.util.List<java.lang.String> addressFormatList)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleLineAddressFormatPopulator

        public SingleLineAddressFormatPopulator()
    • Method Detail

      • populate

        public void populate​(AddressModel addressModel,
                             java.lang.StringBuilder addressLine)
                      throws ConversionException
        Description copied from interface: Populator
        Populate the target instance with values from the source instance.
        Specified by:
        populate in interface Populator<AddressModel,​java.lang.StringBuilder>
        Parameters:
        addressModel - the source object
        addressLine - the target to fill
        Throws:
        ConversionException - if an error occurs
      • getAddressFormatList

        protected java.util.List<java.lang.String> getAddressFormatList()
      • setAddressFormatList

        public void setAddressFormatList​(java.util.List<java.lang.String> addressFormatList)