Class DecodeListConverter

  • All Implemented Interfaces:
    com.vaadin.v7.data.util.converter.Converter<java.lang.String,​java.util.ArrayList<Decode>>, java.io.Serializable

    public class DecodeListConverter
    extends java.lang.Object
    implements com.vaadin.v7.data.util.converter.Converter<java.lang.String,​java.util.ArrayList<Decode>>
    The Varbind's Decode List Converter.
    Author:
    Alejandro Galue
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.vaadin.v7.data.util.converter.Converter

        com.vaadin.v7.data.util.converter.Converter.ConversionException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.ArrayList<Decode> convertToModel​(java.lang.String fieldValue, java.lang.Class<? extends java.util.ArrayList<Decode>> targetType, java.util.Locale locale)  
      java.lang.String convertToPresentation​(java.util.ArrayList<Decode> propertyValue, java.lang.Class<? extends java.lang.String> targetType, java.util.Locale locale)  
      java.lang.Class<java.util.ArrayList<Decode>> getModelType()  
      java.lang.Class<java.lang.String> getPresentationType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DecodeListConverter

        public DecodeListConverter()
    • Method Detail

      • convertToModel

        public java.util.ArrayList<Decode> convertToModel​(java.lang.String fieldValue,
                                                          java.lang.Class<? extends java.util.ArrayList<Decode>> targetType,
                                                          java.util.Locale locale)
                                                   throws com.vaadin.v7.data.util.converter.Converter.ConversionException
        Specified by:
        convertToModel in interface com.vaadin.v7.data.util.converter.Converter<java.lang.String,​java.util.ArrayList<Decode>>
        Throws:
        com.vaadin.v7.data.util.converter.Converter.ConversionException
      • convertToPresentation

        public java.lang.String convertToPresentation​(java.util.ArrayList<Decode> propertyValue,
                                                      java.lang.Class<? extends java.lang.String> targetType,
                                                      java.util.Locale locale)
                                               throws com.vaadin.v7.data.util.converter.Converter.ConversionException
        Specified by:
        convertToPresentation in interface com.vaadin.v7.data.util.converter.Converter<java.lang.String,​java.util.ArrayList<Decode>>
        Throws:
        com.vaadin.v7.data.util.converter.Converter.ConversionException
      • getModelType

        public java.lang.Class<java.util.ArrayList<Decode>> getModelType()
        Specified by:
        getModelType in interface com.vaadin.v7.data.util.converter.Converter<java.lang.String,​java.util.ArrayList<Decode>>
      • getPresentationType

        public java.lang.Class<java.lang.String> getPresentationType()
        Specified by:
        getPresentationType in interface com.vaadin.v7.data.util.converter.Converter<java.lang.String,​java.util.ArrayList<Decode>>