Class UserSortByToStringConverter

java.lang.Object
africa.absa.inception.security.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 Details

    • UserSortByToStringConverter

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

    • convert

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