Class SortDirectionToStringConverter
- java.lang.Object
-
- africa.absa.inception.core.converters.SortDirectionToStringConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<SortDirection,String>
@Component public class SortDirectionToStringConverter extends Object implements org.springframework.core.convert.converter.Converter<SortDirection,String>
The SortDirectionToStringConverter class implements the Spring converter that converts a SortDirection type into a String type.- Author:
- Marcus Portmann
-
-
Constructor Summary
Constructors Constructor Description SortDirectionToStringConverter()Constructs a new SortDirectionToStringConverter.
-
-
-
Method Detail
-
convert
public String convert(SortDirection source)
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<SortDirection,String>
-
-