Object
ObjectToLongConverter
All Implemented Interfaces:
Converter<Object,Long>, Serializable

public class ObjectToLongConverter extends Object implements Converter<Object,Long>
See Also:
  • Constructor Details

    • ObjectToLongConverter

      public ObjectToLongConverter()
  • Method Details

    • convertToModel

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

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

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

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