Class ListToSetConverter

Object
ListToSetConverter
All Implemented Interfaces:
Converter<Object,Set>, Serializable

public class ListToSetConverter extends Object implements Converter<Object,Set>
See Also:
  • Constructor Details

    • ListToSetConverter

      public ListToSetConverter()
  • Method Details

    • convertToModel

      public Set convertToModel(Object value, Class<? extends Set> targetType, Locale locale) throws Converter.ConversionException
      Specified by:
      convertToModel in interface Converter<Object,Set>
      Throws:
      Converter.ConversionException
    • convertToPresentation

      public Object convertToPresentation(Set value, Class<? extends Object> targetType, Locale locale) throws Converter.ConversionException
      Specified by:
      convertToPresentation in interface Converter<Object,Set>
      Throws:
      Converter.ConversionException
    • getModelType

      public Class<Set> getModelType()
      Specified by:
      getModelType in interface Converter<Object,Set>
    • getPresentationType

      public Class<Object> getPresentationType()
      Specified by:
      getPresentationType in interface Converter<Object,Set>