Class DecodeListConverter
- java.lang.Object
-
- org.opennms.features.vaadin.events.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
-
-
Constructor Summary
Constructors Constructor Description DecodeListConverter()
-
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()
-
-
-
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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.vaadin.v7.data.util.converter.Converter<java.lang.String,java.util.ArrayList<Decode>>
-
-