Class GenericConverter

    • Constructor Detail

      • GenericConverter

        public GenericConverter()
    • Method Detail

      • setPopulatorlist

        public void setPopulatorlist​(List<Populator> listToSet)
        For Dependency Injection e.g. Spring
        Parameters:
        listToSet - A List of Populators.
      • convert

        public Converter convert​(ViewDTO viewDTO)
        Converts the values of sources into the target object.
        Specified by:
        convert in interface Converter
        Parameters:
        viewDTO - The target object.