Typically {@link #convertToPresentation(Object,Class,Locale)} and{@link #convertToModel(Object,Class,Locale)} should be symmetric so thatchaining these together returns the original result for all input but this is not a requirement.
Converters must not have any side effects (never update UI from inside a converter).
All Converters must be stateless and thread safe.
If conversion of a value fails, a {@link ConversionException} is thrown.
@param < PRESENTATION> The presentation type. Must be compatible with what {@link #getPresentationType()} returns. @param < MODEL> The model type. Must be compatible with what {@link #getModelType()} returns. @author Vaadin Ltd. @since 7.0
|
|