Class UserSortByToStringConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<UserSortBy,​String>

    @Component
    public class UserSortByToStringConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<UserSortBy,​String>
    The UserSortByToStringConverter class implements the Spring converter that converts a UserSortBy type into a String type.
    Author:
    Marcus Portmann
    • Constructor Detail

      • UserSortByToStringConverter

        public UserSortByToStringConverter()
        Constructs a new UserSortByToStringConverter.
    • Method Detail

      • convert

        public String convert​(UserSortBy source)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<UserSortBy,​String>