Class DoubleToLongConverter

  • All Implemented Interfaces:
    com.vaadin.flow.data.converter.Converter<Double,​Long>, Serializable

    public class DoubleToLongConverter
    extends Object
    implements com.vaadin.flow.data.converter.Converter<Double,​Long>
    Author:
    Orlando Paz <orlando.paz@kuwaiba.org>
    See Also:
    Serialized Form
    • Constructor Detail

      • DoubleToLongConverter

        public DoubleToLongConverter()
    • Method Detail

      • convertToModel

        public com.vaadin.flow.data.binder.Result<Long> convertToModel​(Double presentation,
                                                                       com.vaadin.flow.data.binder.ValueContext valueContext)
        Specified by:
        convertToModel in interface com.vaadin.flow.data.converter.Converter<Double,​Long>
      • convertToPresentation

        public Double convertToPresentation​(Long model,
                                            com.vaadin.flow.data.binder.ValueContext valueContext)
        Specified by:
        convertToPresentation in interface com.vaadin.flow.data.converter.Converter<Double,​Long>