com.vaadin.addon.jpacontainer.fieldfactory
Class MultiSelectConverter<T>
java.lang.Object
com.vaadin.addon.jpacontainer.fieldfactory.MultiSelectConverter<T>
- All Implemented Interfaces:
- com.vaadin.data.util.converter.Converter<Collection<Object>,Collection<T>>, Serializable
public class MultiSelectConverter<T>
- extends Object
- implements com.vaadin.data.util.converter.Converter<Collection<Object>,Collection<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 |
MultiSelectConverter
public MultiSelectConverter(com.vaadin.ui.AbstractSelect select)
convertToPresentation
public Collection<Object> convertToPresentation(Collection<T> value,
Class<? extends Collection<Object>> targetType,
Locale locale)
throws com.vaadin.data.util.converter.Converter.ConversionException
- Specified by:
convertToPresentation in interface com.vaadin.data.util.converter.Converter<Collection<Object>,Collection<T>>
- Throws:
com.vaadin.data.util.converter.Converter.ConversionException
convertToModel
public Collection<T> convertToModel(Collection<Object> value,
Class<? extends Collection<T>> targetType,
Locale locale)
throws com.vaadin.data.util.converter.Converter.ConversionException
- Specified by:
convertToModel in interface com.vaadin.data.util.converter.Converter<Collection<Object>,Collection<T>>
- Throws:
com.vaadin.data.util.converter.Converter.ConversionException
getModelType
public Class<Collection<T>> getModelType()
- Specified by:
getModelType in interface com.vaadin.data.util.converter.Converter<Collection<Object>,Collection<T>>
getPresentationType
public Class<Collection<Object>> getPresentationType()
- Specified by:
getPresentationType in interface com.vaadin.data.util.converter.Converter<Collection<Object>,Collection<T>>
Copyright © 2013 Vaadin Ltd. All rights reserved.