com.vaadin.addon.jpacontainer.fieldfactory
Class SingleSelectConverter<T>
java.lang.Object
com.vaadin.addon.jpacontainer.fieldfactory.SingleSelectConverter<T>
- All Implemented Interfaces:
- com.vaadin.data.util.converter.Converter<Object,T>, Serializable
public class SingleSelectConverter<T>
- extends Object
- implements com.vaadin.data.util.converter.Converter<Object,T>
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.vaadin.data.util.converter.Converter |
com.vaadin.data.util.converter.Converter.ConversionException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleSelectConverter
public SingleSelectConverter(com.vaadin.ui.AbstractSelect select)
convertToModel
public T convertToModel(Object value,
Class<? extends T> targetType,
Locale locale)
throws com.vaadin.data.util.converter.Converter.ConversionException
- Specified by:
convertToModel in interface com.vaadin.data.util.converter.Converter<Object,T>
- Throws:
com.vaadin.data.util.converter.Converter.ConversionException
convertToPresentation
public Object convertToPresentation(T value,
Class<? extends Object> targetType,
Locale locale)
throws com.vaadin.data.util.converter.Converter.ConversionException
- Specified by:
convertToPresentation in interface com.vaadin.data.util.converter.Converter<Object,T>
- Throws:
com.vaadin.data.util.converter.Converter.ConversionException
getModelType
public Class<T> getModelType()
- Specified by:
getModelType in interface com.vaadin.data.util.converter.Converter<Object,T>
getPresentationType
public Class<Object> getPresentationType()
- Specified by:
getPresentationType in interface com.vaadin.data.util.converter.Converter<Object,T>
Copyright © 2013 Vaadin Ltd. All rights reserved.