public class EnumerationToStringConverter extends Object implements com.vaadin.data.util.converter.Converter<String,EnumerationImpl>
Constructor and Description |
---|
EnumerationToStringConverter() |
Modifier and Type | Method and Description |
---|---|
EnumerationImpl |
convertToModel(String value,
Class<? extends EnumerationImpl> targetType,
Locale locale)
Not supported
|
String |
convertToPresentation(EnumerationImpl value,
Class<? extends String> targetType,
Locale locale) |
Class<EnumerationImpl> |
getModelType() |
Class<String> |
getPresentationType() |
public EnumerationImpl convertToModel(String value, Class<? extends EnumerationImpl> targetType, Locale locale)
convertToModel
in interface com.vaadin.data.util.converter.Converter<String,EnumerationImpl>
UnsupportedOperationException
- This operation is not supported therefore this method throws this exception.public String convertToPresentation(EnumerationImpl value, Class<? extends String> targetType, Locale locale) throws com.vaadin.data.util.converter.Converter.ConversionException
convertToPresentation
in interface com.vaadin.data.util.converter.Converter<String,EnumerationImpl>
com.vaadin.data.util.converter.Converter.ConversionException
public Class<EnumerationImpl> getModelType()
getModelType
in interface com.vaadin.data.util.converter.Converter<String,EnumerationImpl>
public Class<String> getPresentationType()
getPresentationType
in interface com.vaadin.data.util.converter.Converter<String,EnumerationImpl>
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.